summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-11-20 10:23:32 +0100
committerMichał Górny <mgorny@gentoo.org>2019-11-20 10:23:32 +0100
commitf50c714df53bcc38a09c1cfbd6b25506dd449eb7 (patch)
tree6dbd9e151155956290e9f035d0757447e9bd7147 /eclass/tests
parenteclass/tests/savedconfig.sh: Use a supported EAPI (diff)
downloadgentoo-f50c714df53bcc38a09c1cfbd6b25506dd449eb7.tar.gz
gentoo-f50c714df53bcc38a09c1cfbd6b25506dd449eb7.tar.bz2
gentoo-f50c714df53bcc38a09c1cfbd6b25506dd449eb7.zip
eclass/tests/git-r3_GIT_DIR.sh: stub out git calls
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/tests')
-rwxr-xr-xeclass/tests/git-r3_GIT_DIR.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/tests/git-r3_GIT_DIR.sh b/eclass/tests/git-r3_GIT_DIR.sh
index 42bebd99782f..c17ae7bb43c0 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}