eclass/tests/git-r3_GIT_DIR.sh: stub out git calls
authorMichał Górny <mgorny@gentoo.org>
Wed, 20 Nov 2019 09:23:32 +0000 (10:23 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 20 Nov 2019 09:23:32 +0000 (10:23 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/tests/git-r3_GIT_DIR.sh

index 42bebd99782f9c394cc0e39bdc841b8751a4d8a1..c17ae7bb43c010de107f6e4fcf45e98cd888e465 100755 (executable)
@@ -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}