summaryrefslogtreecommitdiff
path: root/source3/script/tests
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@sernet.de>2007-12-14 16:14:32 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-14 16:19:18 +0100
commit9bcfb5af7dce2c2ef51b0164d87c23541fa4a222 (patch)
tree639d7985b1e1d360838be112076d5495c5e82d22 /source3/script/tests
parent6a364ce330ce9905c86622ef447d6c88f5e6a12b (diff)
downloadsamba-9bcfb5af7dce2c2ef51b0164d87c23541fa4a222.tar.gz
samba-9bcfb5af7dce2c2ef51b0164d87c23541fa4a222.tar.bz2
samba-9bcfb5af7dce2c2ef51b0164d87c23541fa4a222.zip
selftest: move workgroup name into WORKGROUP envvar
metze (This used to be commit 8ace8fa82c2ccd6fdb9ca076fb2d6fed203c8126)
Diffstat (limited to 'source3/script/tests')
-rwxr-xr-xsource3/script/tests/selftest.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh
index 130ce339bf..6810ec1a54 100755
--- a/source3/script/tests/selftest.sh
+++ b/source3/script/tests/selftest.sh
@@ -27,6 +27,7 @@ export TORTURE_MAXTIME
## setup the various environment variables we need
##
+WORKGROUP=SAMBA-TEST
SERVER=localhost2
SERVER_IP=127.0.0.2
USERNAME=`PATH=/usr/ucb:$PATH whoami`
@@ -62,7 +63,7 @@ export PRIVATEDIR LIBDIR PIDDIR LOCKDIR LOGDIR SERVERCONFFILE
export SRCDIR SCRIPTDIR BINDIR
export USERNAME PASSWORD
export SMBTORTURE4
-export SERVER SERVER_IP
+export WORKGROUP SERVER SERVER_IP
export NSS_WRAPPER_PASSWD NSS_WRAPPER_GROUP
export WINBINDD_SOCKET_DIR WINBINDD_PRIV_PIPE_DIR
@@ -107,7 +108,7 @@ chmod 777 $PREFIX_ABS/tmp
##
cat >$COMMONCONFFILE<<EOF
- workgroup = SAMBA-TEST
+ workgroup = $WORKGROUP
private dir = $PRIVATEDIR
pid directory = $PIDDIR