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