diff options
author | Günther Deschner <gd@samba.org> | 2010-03-17 22:55:41 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-03-17 22:59:27 +0100 |
commit | bb91bbb413132c62066e77c95c6dc4f1d8444628 (patch) | |
tree | 51933e1531907162bee1f297bc60bffeefdc1d86 /source3/script/tests | |
parent | 3efaf5e6ba203df23151665baac821a7c09754d6 (diff) | |
download | samba-bb91bbb413132c62066e77c95c6dc4f1d8444628.tar.gz samba-bb91bbb413132c62066e77c95c6dc4f1d8444628.tar.bz2 samba-bb91bbb413132c62066e77c95c6dc4f1d8444628.zip |
s3-test: setup initial eventlog infrastructure.
Guenther
Diffstat (limited to 'source3/script/tests')
-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 |