summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource4/script/tests/selftest.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh
index 7f49b98c9c..002682f9c5 100755
--- a/source4/script/tests/selftest.sh
+++ b/source4/script/tests/selftest.sh
@@ -54,9 +54,12 @@ export failed
incdir=`dirname $0`
. $incdir/test_functions.sh
+PATH=bin:$PATH
+export PATH
+
rm -rf $PREFIX/*
mkdir -p $PRIVATEDIR $LIBDIR $PIDDIR $NCALRPCDIR $LOCKDIR $TMPDIR $TLSDIR
-./setup/provision.pl --quiet --outputdir $PRIVATEDIR --domain $DOMAIN --realm $REALM \
+./setup/provision $CONFIGURATION --quiet --domain $DOMAIN --realm $REALM \
--adminpass $PASSWORD --root=$ROOT
cat >$CONFFILE<<EOF