From 141e5531ad01564dc02b28f89f4c53f70dc779f2 Mon Sep 17 00:00:00 2001 From: Erik van der Kouwe Date: Fri, 4 Sep 2009 14:14:49 +0000 Subject: [PATCH] Now all tests except for 28 succeed in root mode --- test/run | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/run b/test/run index 94f7c97d3..2c571b907 100755 --- a/test/run +++ b/test/run @@ -20,13 +20,13 @@ for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 \ 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 \ 41 sh1.sh sh2.sh do total=`expr $total + 1` - CMD=./test$i + FAIL=0 if [ $USER = root -a \( $i = 11 -o $i = 33 \) ] - then - CMD=su\ -\ ast\ -c\ `pwd`/$CMD + then su - ast -c "cd `pwd`; ./test$i" || FAIL=1 + else ./test$i || FAIL=1 fi - if $CMD + if [ $FAIL -eq 0 ] then passed=`expr $passed + 1` else failed=`expr $failed + 1` badones=`echo $badones " " $i` -- 2.44.0