aboutsummaryrefslogtreecommitdiff
path: root/test/T000-basic.sh
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2016-10-09 21:48:29 +0300
committerDavid Bremner <david@tethera.net>2016-10-11 22:43:17 -0300
commit6a3ce94aaf637db0308e87354b013ad7fd54705d (patch)
tree351688a5be92673f01e19827dfd3819d4df7f042 /test/T000-basic.sh
parent5d05523659912c6b4221fe5246261df601ea41c8 (diff)
test/T000-basic: replaced use of which(1) with shell builtin command -v
Some minimal chroot/container environments don't have which(1) installed.
Diffstat (limited to 'test/T000-basic.sh')
-rwxr-xr-xtest/T000-basic.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/T000-basic.sh b/test/T000-basic.sh
index d6811bd1..0a8d6cdf 100755
--- a/test/T000-basic.sh
+++ b/test/T000-basic.sh
@@ -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