]> git.notmuchmail.org Git - notmuch/blobdiff - test/T000-basic.sh
test/T000-basic: replaced use of which(1) with shell builtin command -v
[notmuch] / test / T000-basic.sh
index bf08f3e66e84f4ce1d392c254c4b4d96546bd291..0a8d6cdf40fc3ecc83d05f5347cd73c67e62f5f8 100755 (executable)
@@ -14,7 +14,7 @@ then
        exit 1
 fi
 
-. ./test-lib.sh
+. ./test-lib.sh || exit 1
 
 ################################################################
 # Test harness
@@ -92,8 +92,7 @@ test_expect_equal \
     "$(echo $PATH|cut -f1 -d: | sed -e 's,/test/valgrind/bin$,,')"
 
 test_begin_subtest 'notmuch is compiled with debugging symbols'
-test_subtest_known_broken
-readelf --sections $(which notmuch) | grep \.debug
+readelf --sections $(command -v notmuch) | grep \.debug
 test_expect_equal 0 $?
 
 test_done