From 71f057adb763ca08ed26846ab8f30b3ecaa6538c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 26 Jun 2005 00:22:33 +0000 Subject: r7914: - we don't need to override the database locations in selftest any more - make sure we create the tls directory (This used to be commit 0b1323f086acff331be20ee341966113a288393e) --- source4/script/tests/selftest.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'source4/script/tests') diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh index 349efa285a..80aaae0b3c 100755 --- a/source4/script/tests/selftest.sh +++ b/source4/script/tests/selftest.sh @@ -24,6 +24,7 @@ CONFFILE=$LIBDIR/smb.conf PRIVATEDIR=$PREFIX/private NCALRPCDIR=$PREFIX/ncalrpc LOCKDIR=$PREFIX/lockdir +TLSDIR=$PRIVATEDIR/tls CONFIGURATION="--configfile=$CONFFILE" export CONFIGURATION @@ -39,11 +40,15 @@ if [ x"$DO_SOCKET_WRAPPER" = x"SOCKET_WRAPPER" ];then echo "SOCKET_WRAPPER_DIR=$SOCKET_WRAPPER_DIR" fi +# start off with 0 failures +failed=0 +export failed + incdir=`dirname $0` . $incdir/test_functions.sh rm -rf $PREFIX/* -mkdir -p $PRIVATEDIR $LIBDIR $PIDDIR $NCALRPCDIR $LOCKDIR $TMPDIR +mkdir -p $PRIVATEDIR $LIBDIR $PIDDIR $NCALRPCDIR $LOCKDIR $TMPDIR $TLSDIR ./setup/provision.pl --quiet --outputdir $PRIVATEDIR --domain $DOMAIN --realm $REALM \ --adminpass $PASSWORD --root=$ROOT @@ -56,10 +61,6 @@ cat >$CONFFILE<