run script: correction, clarity
Change-Id: Ibf583c6277c67646dd90d7c49482daf4e76b78b6
This commit is contained in:
parent
2a44efb1c0
commit
0245723d5f
11
test/run
11
test/run
|
|
@ -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"
|
sh1.sh sh2.sh interp.sh"
|
||||||
tests_no=`expr 0`
|
tests_no=`expr 0`
|
||||||
|
|
||||||
# Directory must be owned by bin
|
|
||||||
[ "$ROOT" ] || chown bin .
|
|
||||||
|
|
||||||
# If root, make sure the setuid tests have the correct permissions
|
# If root, make sure the setuid tests have the correct permissions
|
||||||
[ "$ROOT" ] && chown root ${setuids}
|
# and make the dir bin-owned.
|
||||||
[ "$ROOT" ] && chmod 4755 ${setuids}
|
if [ "$ROOT" ]
|
||||||
|
then chown bin .
|
||||||
|
chown root ${setuids}
|
||||||
|
chmod 4755 ${setuids}
|
||||||
|
fi
|
||||||
|
|
||||||
tests=$alltests
|
tests=$alltests
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user