summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-30 08:25:27 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-30 09:36:53 +0100
commit52a49b448e4a9ccd3044b47a9efaf15f30fbd032 (patch)
tree92a8525252789111ab76d907ca1c25fdd5cb320c /source4/selftest
parent4e0a61970120e10a6309251a97e660697818fa8a (diff)
downloadsamba-52a49b448e4a9ccd3044b47a9efaf15f30fbd032.tar.gz
samba-52a49b448e4a9ccd3044b47a9efaf15f30fbd032.tar.bz2
samba-52a49b448e4a9ccd3044b47a9efaf15f30fbd032.zip
selftest: allow environment options
We support "local" and "client" (default) now. We can decide if we want to run a client against the server (with a special client.conf) or if we want to run tests localy on the server with the same config as the server. metze
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/selftest/tests.sh b/source4/selftest/tests.sh
index 88b83631ba..5c2b0792eb 100755
--- a/source4/selftest/tests.sh
+++ b/source4/selftest/tests.sh
@@ -298,8 +298,8 @@ plantest "blackbox.nmblookup" member $samba4srcdir/utils/tests/test_nmblookup.sh
plantest "blackbox.locktest" dc $samba4srcdir/torture/tests/test_locktest.sh "\$SERVER" "\$USERNAME" "\$PASSWORD" "\$DOMAIN" "$PREFIX"
plantest "blackbox.masktest" dc $samba4srcdir/torture/tests/test_masktest.sh "\$SERVER" "\$USERNAME" "\$PASSWORD" "\$DOMAIN" "$PREFIX"
plantest "blackbox.gentest" dc $samba4srcdir/torture/tests/test_gentest.sh "\$SERVER" "\$USERNAME" "\$PASSWORD" "\$DOMAIN" "$PREFIX"
-plantest "blackbox.wbinfo" dc $samba4srcdir/../nsswitch/tests/test_wbinfo.sh "\$DOMAIN" "\$USERNAME" "\$PASSWORD" "dc"
-plantest "blackbox.wbinfo" member $samba4srcdir/../nsswitch/tests/test_wbinfo.sh "\$DOMAIN" "\$DC_USERNAME" "\$DC_PASSWORD" "member"
+plantest "blackbox.wbinfo" dc:local $samba4srcdir/../nsswitch/tests/test_wbinfo.sh "\$DOMAIN" "\$USERNAME" "\$PASSWORD" "dc"
+plantest "blackbox.wbinfo" member:local $samba4srcdir/../nsswitch/tests/test_wbinfo.sh "\$DOMAIN" "\$DC_USERNAME" "\$DC_PASSWORD" "member"
# Tests using the "Simple" NTVFS backend