summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-01-19 00:55:48 +0100
committerGünther Deschner <gd@samba.org>2010-01-19 14:14:30 +0100
commitc971c10a63841d9b850d10ce856e813e37cace36 (patch)
tree7c9812c56b330bea9a61818c23a3b59a0b45a40b
parentf5bba4034b362d354409932f0b0cef0e4d44a08d (diff)
downloadsamba-c971c10a63841d9b850d10ce856e813e37cace36.tar.gz
samba-c971c10a63841d9b850d10ce856e813e37cace36.tar.bz2
samba-c971c10a63841d9b850d10ce856e813e37cace36.zip
s3-selftest: use absolute path when setting SOCKET_WRAPPER_DIR.
Guenther
-rwxr-xr-xselftest/selftest.pl2
-rwxr-xr-xsource3/script/tests/selftest.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index 883d2a0d46..ba66049616 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -445,7 +445,7 @@ if ($opt_socket_wrapper_pcap) {
my $socket_wrapper_dir;
if ($opt_socket_wrapper) {
- $socket_wrapper_dir = SocketWrapper::setup_dir("$prefix/w", $opt_socket_wrapper_pcap);
+ $socket_wrapper_dir = SocketWrapper::setup_dir("$prefix_abs/w", $opt_socket_wrapper_pcap);
print "SOCKET_WRAPPER_DIR=$socket_wrapper_dir\n";
} else {
unless ($< == 0) {
diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh
index 91052a7065..8565185ab6 100755
--- a/source3/script/tests/selftest.sh
+++ b/source3/script/tests/selftest.sh
@@ -82,7 +82,7 @@ COMMONCONFFILE=$LIBDIR/common.conf
PRIVATEDIR=$PREFIX_ABS/private
LOCKDIR=$PREFIX_ABS/lockdir
LOGDIR=$PREFIX_ABS/logs
-SOCKET_WRAPPER_DIR=$PREFIX/sw
+SOCKET_WRAPPER_DIR=$PREFIX_ABS/sw
CONFIGURATION="--configfile $CONFFILE"
SAMBA4CONFIGURATION="-s $SAMBA4CONFFILE"
NSS_WRAPPER_PASSWD="$PRIVATEDIR/passwd"