commit:     f50c714df53bcc38a09c1cfbd6b25506dd449eb7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 20 09:23:32 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov 20 09:23:32 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f50c714d

eclass/tests/git-r3_GIT_DIR.sh: stub out git calls

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/tests/git-r3_GIT_DIR.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/tests/git-r3_GIT_DIR.sh b/eclass/tests/git-r3_GIT_DIR.sh
index 42bebd99782..c17ae7bb43c 100755
--- a/eclass/tests/git-r3_GIT_DIR.sh
+++ b/eclass/tests/git-r3_GIT_DIR.sh
@@ -15,6 +15,8 @@ cd "${testdir}" || die "unable to cd to testdir"
 EGIT3_STORE_DIR=store
 mkdir "${EGIT3_STORE_DIR}" || die "unable to mkdir store"
 
+git() { :; }
+
 # Test cleaning up canonical repo URI
 test_repouri() {
        local uri=${1}

Reply via email to