From c971c10a63841d9b850d10ce856e813e37cace36 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Tue, 19 Jan 2010 00:55:48 +0100 Subject: [PATCH] s3-selftest: use absolute path when setting SOCKET_WRAPPER_DIR. Guenther --- selftest/selftest.pl | 2 +- source3/script/tests/selftest.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/selftest/selftest.pl b/selftest/selftest.pl index 883d2a0d463..ba660496168 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 91052a70653..8565185ab65 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" -- 2.34.1