Merge branch 'tz/test-lib-check-working-jgit'
authorJunio C Hamano <gitster@pobox.com>
Sun, 19 May 2019 07:45:34 +0000 (16:45 +0900)
committerJunio C Hamano <gitster@pobox.com>
Sun, 19 May 2019 07:45:34 +0000 (16:45 +0900)
A prerequiste check in the test suite to see if a working jgit is
available was made more robust.

* tz/test-lib-check-working-jgit:
test-lib: try harder to ensure a working jgit

t/test-lib.sh
index 908ddb9c46630d8d9678f610cfde7617bc38514c..599fd70e141c7b7252b65ae6603486691864974b 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