projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d3e32c
)
eclass/tests/git-r3_GIT_DIR.sh: stub out git calls
author
Michał Górny
<mgorny@gentoo.org>
Wed, 20 Nov 2019 09:23:32 +0000
(10:23 +0100)
committer
Michał 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
patch
|
blob
|
history
diff --git
a/eclass/tests/git-r3_GIT_DIR.sh
b/eclass/tests/git-r3_GIT_DIR.sh
index 42bebd99782f9c394cc0e39bdc841b8751a4d8a1..c17ae7bb43c010de107f6e4fcf45e98cd888e465 100755
(executable)
--- 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}