busybox/testsuite/which/which-uses-default-path

5 lines
76 B
Plaintext

BUSYBOX=$(command -v busybox)
SAVED_PATH=$PATH
unset PATH
$BUSYBOX which ls