]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/test-lib.sh
t: decrease nesting in test_oid_to_path
[thirdparty/git.git] / t / test-lib.sh
index 908ddb9c46630d8d9678f610cfde7617bc38514c..4b346467df7aaf2e5215f7ebb3bfb4ae13a3ffbc 100644 (file)
@@ -1522,7 +1522,7 @@ test_lazy_prereq NOT_ROOT '
 '
 
 test_lazy_prereq JGIT '
-       type jgit
+       jgit --version
 '
 
 # SANITY is about "can you correctly predict what the filesystem would
@@ -1607,3 +1607,7 @@ test_lazy_prereq SHA1 '
 test_lazy_prereq REBASE_P '
        test -z "$GIT_TEST_SKIP_REBASE_P"
 '
+
+test_lazy_prereq FAIL_PREREQS '
+       test -n "$GIT_TEST_FAIL_PREREQS"
+'