summaryrefslogtreecommitdiff
path: root/source4/script/tests
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script/tests')
-rwxr-xr-xsource4/script/tests/selftest.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh
index a4f38cb9dc..67797b17f4 100755
--- a/source4/script/tests/selftest.sh
+++ b/source4/script/tests/selftest.sh
@@ -51,9 +51,10 @@ export TEST_DATA_PREFIX
TMPDIR=$PREFIX_ABS/tmp
LIBDIR=$PREFIX_ABS/lib
+ETCDIR=$PREFIX_ABS/etc
PIDDIR=$PREFIX_ABS/pid
-CONFFILE=$LIBDIR/smb.conf
-KRB5_CONFIG=$LIBDIR/krb5.conf
+CONFFILE=$ETCDIR/smb.conf
+KRB5_CONFIG=$ETCDIR/krb5.conf
PRIVATEDIR=$PREFIX_ABS/private
NCALRPCDIR=$PREFIX_ABS/ncalrpc
LOCKDIR=$PREFIX_ABS/lockdir
@@ -85,7 +86,7 @@ PATH=bin:$PATH
export PATH
rm -rf $PREFIX/*
-mkdir -p $PRIVATEDIR $LIBDIR $PIDDIR $NCALRPCDIR $LOCKDIR $TMPDIR $TLSDIR
+mkdir -p $PRIVATEDIR $ETCDIR $LIBDIR $PIDDIR $NCALRPCDIR $LOCKDIR $TMPDIR $TLSDIR
cat >$PRIVATEDIR/wins_config.ldif<<EOF
dn: name=TORTURE_26,CN=PARTNERS