summaryrefslogtreecommitdiff
path: root/testsuite/which/which-uses-default-path
blob: f612aeb54508993a696863d138f9542f046bdefd (plain)
1
2
3
4
5
6
7
BUSYBOX=$(type -p busybox)
SAVED_PATH=$PATH
unset PATH
$BUSYBOX which ls
STATUS=$?
export PATH=$SAVED_PATH
return $STATUS