diff options
author | Andrew Bartlett <abartlet@samba.org> | 2014-05-19 17:32:56 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-06-04 03:22:26 +0200 |
commit | 5f29774071a7698a4d4ab73c2059f8f16d507776 (patch) | |
tree | 0c991f727f31866017614f47811b384a81292ac7 /source3/selftest | |
parent | 67cdbde5f2d96a9438326e7272c851fc510ac9a1 (diff) | |
download | samba-5f29774071a7698a4d4ab73c2059f8f16d507776.tar.gz |
selftest: move all winbind test rules to one place
We now run wbinfo_simple additionally against plugin_s4_dc and dc
This also extends many of the tests to run against more environments,
hence the additional knownfail entries.
For winbind.wbclient, the fl2003dc environment has been selected not
to run with password history so as to allow the winindd.wbinfo test to
complete (once switched to running winbindd).
Andrew Bartlett
Change-Id: I475fd9937e515796b5e47c042a8bfa85f76441ca
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/selftest')
-rwxr-xr-x | source3/selftest/tests.py | 42 |
1 files changed, 1 insertions, 41 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index deea4a0a174..5cee5245a95 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -23,8 +23,6 @@ sys.path.insert(0, os.path.normpath(os.path.join(os.path.dirname(__file__), "../ import selftesthelpers from selftesthelpers import * smbtorture4_options.extend([ - '--option="torture:winbindd_netbios_name=$SERVER"', - '--option="torture:winbindd_netbios_domain=$DOMAIN"', '--option=torture:sharedelay=100000', '--option=torture:writetimeupdatedelay=500000', ]) @@ -128,42 +126,6 @@ for env in ["s3dc", "member", "s3member"]: plantestsuite("samba3.blackbox.smbclient_auth.plain (%s)" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_auth.sh"), '$SERVER', '$SERVER_IP', '$DC_USERNAME', '$DC_PASSWORD', smbclient3, configuration]) plantestsuite("samba3.blackbox.smbclient_auth.plain (%s) member creds" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_auth.sh"), '$SERVER', '$SERVER_IP', '$SERVER/$USERNAME', '$PASSWORD', smbclient3, configuration]) - tests = ["--ping", "--separator", - "--own-domain", - "--all-domains", - "--trusted-domains", - "--domain-info=BUILTIN", - "--domain-info=$DOMAIN", - "--online-status", - "--online-status --domain=BUILTIN", - "--online-status --domain=$DOMAIN", - "--check-secret --domain=$DOMAIN", - "--change-secret --domain=$DOMAIN", - "--check-secret --domain=$DOMAIN", - "--online-status --domain=$DOMAIN", - #Didn't pass yet# "--domain-users", - "--domain-groups", - "--name-to-sid=$DC_USERNAME", - "--name-to-sid=$DOMAIN/$DC_USERNAME", - #Didn't pass yet# "--user-info=$USERNAME", - "--user-groups=$DOMAIN/$DC_USERNAME", - "--authenticate=$DOMAIN/$DC_USERNAME%$DC_PASSWORD", - "--allocate-uid", - "--allocate-gid"] - - for t in tests: - plantestsuite("samba3.wbinfo_simple.(%s:local).%s" % (env, t), "%s:local" % env, [os.path.join(srcdir(), "nsswitch/tests/test_wbinfo_simple.sh"), t]) - - plantestsuite( - "samba3.wbinfo_sids2xids.(%s:local)" % env, "%s:local" % env, - [os.path.join(samba3srcdir, "script/tests/test_wbinfo_sids2xids.sh")]) - - plantestsuite( - "samba3.ntlm_auth.diagnostics(%s:local)" % env, "%s:local" % env, - [os.path.join(samba3srcdir, "script/tests/test_ntlm_auth_diagnostics.sh"), ntlm_auth3, '$DOMAIN', '$DC_USERNAME', '$DC_PASSWORD', configuration]) - - plantestsuite("samba3.ntlm_auth.(%s:local)" % env, "%s:local" % env, [os.path.join(samba3srcdir, "script/tests/test_ntlm_auth_s3.sh"), valgrindify(python), samba3srcdir, ntlm_auth3, '$DOMAIN', '$DC_USERNAME', '$DC_PASSWORD', configuration]) - for env in ["member", "s3member"]: plantestsuite("samba3.blackbox.net_cred_change.(%s:local)" % env, "%s:local" % env, [os.path.join(samba3srcdir, "script/tests/test_net_cred_change.sh"), configuration]) @@ -311,8 +273,6 @@ rpc = ["rpc.authcontext", "rpc.samba3.bind", "rpc.samba3.srvsvc", "rpc.samba3.sh local = ["local.ndr"] -winbind = ["winbind.struct", "winbind.wbclient", "winbind.pac"] - idmap = [ "idmap.rfc2307" ] rap = ["rap.basic", "rap.rpc", "rap.printing", "rap.sam"] @@ -323,7 +283,7 @@ nbt = ["nbt.dgram" ] libsmbclient = ["libsmbclient"] -tests= base + raw + smb2 + rpc + unix + local + winbind + rap + nbt + libsmbclient + idmap +tests= base + raw + smb2 + rpc + unix + local + rap + nbt + libsmbclient + idmap for t in tests: if t == "base.delaywrite": |