X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT000-basic.sh;h=78e183361e7d5c572b4143c8160d02f722e15803;hp=d6811bd1075639d71986b283880d6bb40312a3b1;hb=b8f12bd3717aa446ef04197734af7a055e6909fe;hpb=02a2eeb427d6b424029f6e5e5ddad4c6ec987741 diff --git a/test/T000-basic.sh b/test/T000-basic.sh index d6811bd1..78e18336 100755 --- a/test/T000-basic.sh +++ b/test/T000-basic.sh @@ -23,7 +23,7 @@ test_expect_success 'success is reported like this' ' ' test_set_prereq HAVEIT haveit=no -test_expect_success HAVEIT 'test runs if prerequisite is satisfied' ' +test_expect_success 'test runs if prerequisite is satisfied' ' test_have_prereq HAVEIT && haveit=yes ' @@ -92,7 +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' -readelf --sections $(which notmuch) | grep \.debug +readelf --sections $(command -v notmuch) | grep \.debug test_expect_equal 0 $? test_done