summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-02-16 15:10:00 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-16 15:21:10 +1100
commit8ea068d70291db1d06334a2211056d7902d6fe29 (patch)
tree3df086b1a1ac65bc5520e8dfc49560faed61f39f /source4
parentc006b9b898e93149f83969d0b1d8e4dafc6fbfeb (diff)
downloadsamba-8ea068d70291db1d06334a2211056d7902d6fe29.tar.gz
samba-8ea068d70291db1d06334a2211056d7902d6fe29.tar.bz2
samba-8ea068d70291db1d06334a2211056d7902d6fe29.zip
selftest: Run nsstest against more environments
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/selftest/tests.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index b1b7871585..8529cc991c 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -392,10 +392,11 @@ for env in ["dc", "s4member"]:
plansmbtorturetestsuite(t, env, wb_opts + ['//_none_/_none_'])
nsstest4 = binpath("nsstest")
-if os.path.exists(nsstest4):
- plantestsuite("samba4.nss.test using winbind(s4member)", "s4member", [os.path.join(bbdir, "nsstest.sh"), nsstest4, os.path.join(samba4bindir, "default/nsswitch/libnss-winbind.so")])
-else:
- skiptestsuite("samba4.nss.test using winbind(s4member)", "nsstest not available")
+for env in ["dc", "s4member", "s3dc", "s3member", "member"]:
+ if os.path.exists(nsstest4):
+ plantestsuite("samba4.nss.test using winbind(%s)" % env, env, [os.path.join(bbdir, "nsstest.sh"), nsstest4, os.path.join(samba4bindir, "default/nsswitch/libnss-winbind.so")])
+ else:
+ skiptestsuite("samba4.nss.test using winbind(%s)" % env, "nsstest not available")
subunitrun = valgrindify(python) + " " + os.path.join(samba4srcdir, "scripting/bin/subunitrun")
def planoldpythontestsuite(env, module, name=None, extra_path=[], environ={}, extra_args=[]):