summaryrefslogtreecommitdiff
path: root/source3/selftest
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-13 18:28:48 +0200
committerGünther Deschner <gd@samba.org>2010-08-13 18:30:37 +0200
commit472d2a356fe2fad8b54920d99e2829344fd646cd (patch)
tree459a6c9fd549c2904964eaeb5f51521bd538d32a /source3/selftest
parentca8db7fd63749989dcb3daae0c38b8b788ebdfb8 (diff)
downloadsamba-472d2a356fe2fad8b54920d99e2829344fd646cd.tar.gz
samba-472d2a356fe2fad8b54920d99e2829344fd646cd.tar.bz2
samba-472d2a356fe2fad8b54920d99e2829344fd646cd.zip
s3-selftest: fix testparm tests as non-root.
Thanks to Andreas for pointing this out. Guenther
Diffstat (limited to 'source3/selftest')
-rwxr-xr-xsource3/selftest/tests.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/selftest/tests.sh b/source3/selftest/tests.sh
index 7042ba2c43..7a9e68a243 100755
--- a/source3/selftest/tests.sh
+++ b/source3/selftest/tests.sh
@@ -81,6 +81,9 @@ export USERNAME
PASSWORD="\$PASSWORD"
export PASSWORD
+LOCAL_PATH="\$LOCAL_PATH"
+export LOCAL_PATH
+
(
shift $#
testitprefix="local_s3."
@@ -147,7 +150,7 @@ plantest "blackbox.smbclient_s3.crypt" dc BINDIR="$BINDIR" script/tests/test_smb
#plantest "blackbox.smbclient_s3.crypt domain creds" member BINDIR="$BINDIR" script/tests/test_smbclient_s3.sh \$SERVER \$SERVER_IP \$DOMAIN\\\\\$DC_USERNAME \$DC_PASSWORD "-e"
plantest "blackbox.net_s3" dc:local BINDIR="$BINDIR" SCRIPTDIR="$SCRIPTDIR" SERVERCONFFILE="\$SMB_CONF_PATH" script/tests/test_net_s3.sh
-plantest "blackbox.testparm_s3" dc:local BINDIR="$BINDIR" SCRIPTDIR="$SCRIPTDIR" SERVERCONFFILE="\$SMB_CONF_PATH" script/tests/test_testparm_s3.sh
+plantest "blackbox.testparm_s3" dc:local LOCAL_PATH="$LOCAL_PATH" BINDIR="$BINDIR" SCRIPTDIR="$SCRIPTDIR" SERVERCONFFILE="\$SMB_CONF_PATH" script/tests/test_testparm_s3.sh
(
shift $#