path: root/tests
diff options
authorIan Jackson <>2019-08-08 12:33:22 +0100
committerIan Jackson <>2019-08-11 00:09:29 +0100
commit6faeb365e627108bbcd41136f3204cf69c5c8ca8 (patch)
tree866d855139c5192cc1bb1ed5be58e391eceb5c49 /tests
parent5432ed2fb568a8c4acd34633162ee98711676111 (diff)
test suite: Use http git check for three existing tests
At the very least we want at least one test which fails when check_for_git is nobbled ad-hoc [1] to return 1. "clone-nogit" fits that bill (verified experimentally). Pick two other tests to enable this for, roughly arbitrarily. (Two tests which chain to clone-nogit are affected too.) Of course we also want a test which fails when check_for_git falsely returns 0. We don't have one right now. Coming up... Signed-off-by: Ian Jackson <>
Diffstat (limited to 'tests')
3 files changed, 5 insertions, 0 deletions
diff --git a/tests/tests/clone-gitnosuite b/tests/tests/clone-gitnosuite
index 83c996d..b85efdb 100755
--- a/tests/tests/clone-gitnosuite
+++ b/tests/tests/clone-gitnosuite
@@ -2,6 +2,8 @@
set -e
. tests/lib
+t-setup-import http-git-check
t-archive pari-extra 3-1
cp -a $tmp/git/_template $dgitrepo
diff --git a/tests/tests/clone-nogit b/tests/tests/clone-nogit
index e99dac3..f36a7b6 100755
--- a/tests/tests/clone-nogit
+++ b/tests/tests/clone-nogit
@@ -2,6 +2,8 @@
set -e
. tests/lib
+t-setup-import http-git-check
t-archive pari-extra 3-1
diff --git a/tests/tests/gdr-import-dgit b/tests/tests/gdr-import-dgit
index e58ff32..1050f72 100755
--- a/tests/tests/gdr-import-dgit
+++ b/tests/tests/gdr-import-dgit
@@ -6,6 +6,7 @@ t-dependencies GDR
t-setup-import gdr-convert-gbp
+t-setup-import http-git-check
cd $p