diff options
-rwxr-xr-x | source3/script/tests/selftest.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh index e49bca863b..e481c7e1c9 100755 --- a/source3/script/tests/selftest.sh +++ b/source3/script/tests/selftest.sh @@ -95,6 +95,7 @@ COMMONCONFFILE=$LIBDIR/common.conf PRIVATEDIR=$PREFIX_ABS/private NCALRPCDIR=$PREFIX_ABS/ncalrpc LOCKDIR=$PREFIX_ABS/lockdir +EVENTLOGDIR=$LOCKDIR/eventlog LOGDIR=$PREFIX_ABS/logs SOCKET_WRAPPER_DIR=$PREFIX_ABS/sw CONFIGURATION="--configfile $CONFFILE" @@ -158,7 +159,7 @@ if test "x`smbd -b | grep NSS_WRAPPER`" = "x"; then fi -mkdir -p $PRIVATEDIR $NCALRPCDIR $LIBDIR $PIDDIR $LOCKDIR $LOGDIR +mkdir -p $PRIVATEDIR $NCALRPCDIR $LIBDIR $PIDDIR $LOCKDIR $LOGDIR $EVENTLOGDIR mkdir -p $SOCKET_WRAPPER_DIR mkdir -p $WINBINDD_SOCKET_DIR chmod 755 $WINBINDD_SOCKET_DIR @@ -257,6 +258,7 @@ cat >$SERVERCONFFILE<<EOF addprinter command = $PERL $SRCDIR/../source3/script/tests/printing/modprinter.pl -a -s $SERVERCONFFILE -- deleteprinter command = $PERL $SRCDIR/../source3/script/tests/printing/modprinter.pl -d -s $SERVERCONFFILE -- + eventlog list = "dns server" application kernel oplocks = no kernel change notify = no @@ -352,6 +354,9 @@ nogroup:x:65534:nobody EOF fi +touch $EVENTLOGDIR/dns\ server.tdb +touch $EVENTLOGDIR/application.tdb + MAKE_TEST_BINARY="bin/smbpasswd" export MAKE_TEST_BINARY |