From 729c7528e63a68226c16f23e73d2a31c3d1815f4 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 8 Jun 2005 14:45:04 +0000 Subject: r7397: - don't exit when one test fails - some other cleanups metze (This used to be commit d8490399d91007dfcbada15f917ce56ab88370fc) --- source4/script/tests/selftest.sh | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) (limited to 'source4/script/tests/selftest.sh') diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh index 12f27dbff9..e2adb887af 100755 --- a/source4/script/tests/selftest.sh +++ b/source4/script/tests/selftest.sh @@ -20,8 +20,8 @@ PRIVATEDIR=$PREFIX/private NCALRPCDIR=$PREFIX/ncalrpc LOCKDIR=$PREFIX/lockdir +rm -rf $PREFIX/* mkdir -p $PRIVATEDIR $LIBDIR $PIDDIR $NCALRPCDIR $LOCKDIR $TMPDIR -rm -f $PRIVATEDIR/* ./setup/provision.pl --quiet --outputdir $PRIVATEDIR --domain $DOMAIN --realm $REALM --adminpass $PASSWORD cat >$CONFFILE<$PREFIX/smbd_test.fifo +failed=$? + +END=`date` +echo "START: $START ($0)"; +echo "END: $END ($0)"; + +if [ x"$failed" = x"0" ];then + echo "ALL OK ($0)"; +else + echo "$failed TESTS FAILED ($0)"; +fi +exit $failed -- cgit