hush/testsuite/which/which-uses-default-path

8 lines
122 B
Plaintext
Raw Normal View History

2002-01-14 18:30:10 +00:00
BUSYBOX=$(type -p busybox)
SAVED_PATH=$PATH
unset PATH
$BUSYBOX which ls
STATUS=$?
export PATH=$SAVED_PATH
return $STATUS