From: Arvin Schnell Date: Fri, 18 Feb 2011 10:54:41 +0000 (+0100) Subject: - improved output X-Git-Tag: v0.1.3~472 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=31a6a3e4731ca42d8b6284ed8a17da64f99e52e2;p=thirdparty%2Fsnapper.git - improved output --- diff --git a/testsuite-real/run-all b/testsuite-real/run-all index bdc4dfa8..8b516aa6 100755 --- a/testsuite-real/run-all +++ b/testsuite-real/run-all @@ -1,11 +1,30 @@ #!/bin/bash -./simple1 +function run() +{ + cmd=$1 + shift + args=$* -./permissions1 -./permissions2 + echo + echo "*** running $cmd $args ***" + echo -./owner1 -./owner2 + ./$cmd $args + + if [ $? != 0 ] ; then + echo "failed" + exit 1 + fi +} + + +run simple1 + +run permissions1 +run permissions2 + +run owner1 +run owner2