mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 10:58:10 +01:00
test/T000-basic: replaced use of which(1) with shell builtin command -v
Some minimal chroot/container environments don't have which(1) installed.
This commit is contained in:
parent
5d05523659
commit
6a3ce94aaf
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ test_expect_equal \
|
||||||
"$(echo $PATH|cut -f1 -d: | sed -e 's,/test/valgrind/bin$,,')"
|
"$(echo $PATH|cut -f1 -d: | sed -e 's,/test/valgrind/bin$,,')"
|
||||||
|
|
||||||
test_begin_subtest 'notmuch is compiled with debugging symbols'
|
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_expect_equal 0 $?
|
||||||
|
|
||||||
test_done
|
test_done
|
||||||
|
|
Loading…
Reference in a new issue