run script: correction, clarity

Change-Id: Ibf583c6277c67646dd90d7c49482daf4e76b78b6
This commit is contained in:
Ben Gras 2013-04-19 10:24:50 +00:00
parent 2a44efb1c0
commit 0245723d5f

View file

@ -28,12 +28,13 @@ alltests=" 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 \
sh1.sh sh2.sh interp.sh"
tests_no=`expr 0`
# Directory must be owned by bin
[ "$ROOT" ] || chown bin .
# If root, make sure the setuid tests have the correct permissions
[ "$ROOT" ] && chown root ${setuids}
[ "$ROOT" ] && chmod 4755 ${setuids}
# and make the dir bin-owned.
if [ "$ROOT" ]
then chown bin .
chown root ${setuids}
chmod 4755 ${setuids}
fi
tests=$alltests