r8446: if provisioning fails then don't try to run the test suite!
authorAndrew Tridgell <tridge@samba.org>
Thu, 14 Jul 2005 03:13:04 +0000 (03:13 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:23:04 +0000 (13:23 -0500)
(This used to be commit 7c1bc27254ea58b63c66ce1dbc9f7630c0bedbad)

source4/script/tests/selftest.sh

index 77a97638b9ad8e63b7eb16d2a9edc3340186fdce..ca35ae78a24d20f16c288b502134993772832ab8 100755 (executable)
@@ -95,7 +95,7 @@ cat >$CONFFILE<<EOF
 EOF
 
 ./setup/provision $CONFIGURATION --quiet --domain $DOMAIN --realm $REALM \
-    --adminpass $PASSWORD --root=$ROOT
+    --adminpass $PASSWORD --root=$ROOT || exit 1
 
 if [ x"$RUN_FROM_BUILD_FARM" = x"yes" ];then
        CONFIGURATION="$CONFIGURATION --option=\"torture:progress=no\""