summaryrefslogtreecommitdiff
path: root/source4/script/tests
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-12 06:08:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:20:09 -0500
commit3a4b3df609dbaaf5d2784ceef2ee9ebbb659792f (patch)
treeb5fe522d1779e9b2abea2866dc502a0835b455c1 /source4/script/tests
parente9672b338e9402eea4472a995e8feca369e32abb (diff)
downloadsamba-3a4b3df609dbaaf5d2784ceef2ee9ebbb659792f.tar.gz
samba-3a4b3df609dbaaf5d2784ceef2ee9ebbb659792f.tar.bz2
samba-3a4b3df609dbaaf5d2784ceef2ee9ebbb659792f.zip
r8349: as we don't use standard dirs, we need to create smb.conf before we run provision
(This used to be commit c64a68cd40d644c273528d0433bdf554c11bcf00)
Diffstat (limited to 'source4/script/tests')
-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