summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource4/script/tests/selftest.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh
index 002682f9c5..1175fae354 100755
--- a/source4/script/tests/selftest.sh
+++ b/source4/script/tests/selftest.sh
@@ -59,8 +59,6 @@ export PATH
rm -rf $PREFIX/*
mkdir -p $PRIVATEDIR $LIBDIR $PIDDIR $NCALRPCDIR $LOCKDIR $TMPDIR $TLSDIR
-./setup/provision $CONFIGURATION --quiet --domain $DOMAIN --realm $REALM \
- --adminpass $PASSWORD --root=$ROOT
cat >$CONFFILE<<EOF
[global]
@@ -92,6 +90,9 @@ cat >$CONFFILE<<EOF
cifs:share = tmp
EOF
+./setup/provision $CONFIGURATION --quiet --domain $DOMAIN --realm $REALM \
+ --adminpass $PASSWORD --root=$ROOT
+
if [ x"$RUN_FROM_BUILD_FARM" = x"yes" ];then
CONFIGURATION="$CONFIGURATION --option=\"torture:progress=no\""
fi