diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-08-08 12:33:22 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-08-11 00:09:29 +0100 |
commit | 6faeb365e627108bbcd41136f3204cf69c5c8ca8 (patch) | |
tree | 866d855139c5192cc1bb1ed5be58e391eceb5c49 /tests | |
parent | 5432ed2fb568a8c4acd34633162ee98711676111 (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 <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/tests/clone-gitnosuite | 2 | ||||
-rwxr-xr-x | tests/tests/clone-nogit | 2 | ||||
-rwxr-xr-x | tests/tests/gdr-import-dgit | 1 |
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 t-git-none 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 t-git-none 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-tstunt-parsechangelog t-setup-import gdr-convert-gbp +t-setup-import http-git-check cd $p |