aboutsummaryrefslogtreecommitdiff
path: root/testsuite/which
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/which')
-rw-r--r--testsuite/which/which-uses-default-path2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/which/which-uses-default-path b/testsuite/which/which-uses-default-path
index 63ceb9f8f..349583dcc 100644
--- a/testsuite/which/which-uses-default-path
+++ b/testsuite/which/which-uses-default-path
@@ -1,4 +1,4 @@
-BUSYBOX=$(type -p busybox)
+BUSYBOX=$(command -pv busybox)
SAVED_PATH=$PATH
unset PATH
$BUSYBOX which ls