From 34a70b80dad53af17f7ed161f309dd1676e0254a Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 2 May 2005 09:44:59 +0000 Subject: r6568: Some more small 'make test' fixes (This used to be commit 02160c991a7e9bef2fabfe338a772e32679edf5d) --- source4/build/smb_build/makefile.pm | 3 +-- source4/script/tests/selftest.sh | 12 +++++------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 1ca3226d37..bc5690ddf3 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -153,10 +153,9 @@ basics: idl proto_exists test: all ./script/tests/selftest.sh $(prefix) -SOCKET_WRAPPER_DIR=`pwd`/sockdir +export SOCKET_WRAPPER_DIR=$(shell pwd)/sockdir test-swrap: all - export SOCKET_WRAPPER_DIR mkdir -p $(SOCKET_WRAPPER_DIR) ./script/tests/selftest.sh $(prefix) diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh index 7f51ce2c39..a52f38b3b1 100755 --- a/source4/script/tests/selftest.sh +++ b/source4/script/tests/selftest.sh @@ -3,7 +3,6 @@ DOMAIN=SAMBADOMAIN REALM=$DOMAIN PASSWORD=penguin SRCDIR=`pwd` -SOCKET_WRAPPER_DIR=$PREFIX/sockdir TMPDIR=$PREFIX/tmp if [ $# -lt 1 ] @@ -17,7 +16,6 @@ PREFIX=$1 rm -f $PREFIX/private/* ./setup/provision.pl --quiet --outputdir $PREFIX/private --domain $DOMAIN --realm $REALM --adminpass $PASSWORD -mkdir -p $SOCKET_WRAPPER_DIR cat >$PREFIX/lib/smb.conf <