From: Andreas Schneider Date: Fri, 2 Mar 2018 10:01:33 +0000 (+0100) Subject: selftest: Impove test names for samba.wbinfo_simple X-Git-Tag: talloc-2.1.12~277 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ffb836f3feb25861ab3fadc42b0fc2603468015c;p=thirdparty%2Fsamba.git selftest: Impove test names for samba.wbinfo_simple This simplifies selecting a specific test to run. Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlet Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Sat Mar 3 05:19:38 CET 2018 on sn-devel-144 --- diff --git a/selftest/knownfail b/selftest/knownfail index 710fd33894e..a2aeed2690d 100644 --- a/selftest/knownfail +++ b/selftest/knownfail @@ -220,16 +220,16 @@ ^samba.blackbox.wbinfo\(ad_member:local\).wbinfo -G against ad_member ^samba.blackbox.wbinfo\(ad_member:local\).wbinfo -U check for sane mapping ^samba.blackbox.wbinfo\(ad_member:local\).wbinfo -G check for sane mapping -^samba.wbinfo_simple.\(ad_dc_ntvfs:local\).--allocate-uid -^samba.wbinfo_simple.\(ad_dc_ntvfs:local\).--allocate-gid -^samba.wbinfo_simple.\(s4member:local\).--allocate-uid -^samba.wbinfo_simple.\(s4member:local\).--allocate-gid -^samba.wbinfo_simple.\(ad_dc:local\).--allocate-uid -^samba.wbinfo_simple.\(ad_dc:local\).--allocate-gid -^samba.wbinfo_simple.\(chgdcpass:local\).--allocate-uid -^samba.wbinfo_simple.\(chgdcpass:local\).--allocate-gid -^samba.wbinfo_simple.\(rodc:local\).--allocate-uid -^samba.wbinfo_simple.\(rodc:local\).--allocate-gid +^samba.wbinfo_simple.allocate-uid.wbinfo\(ad_dc_ntvfs:local\) +^samba.wbinfo_simple.allocate-gid.wbinfo\(ad_dc_ntvfs:local\) +^samba.wbinfo_simple.allocate-uid.wbinfo\(s4member:local\) +^samba.wbinfo_simple.allocate-gid.wbinfo\(s4member:local\) +^samba.wbinfo_simple.allocate-uid.wbinfo\(ad_dc:local\) +^samba.wbinfo_simple.allocate-gid.wbinfo\(ad_dc:local\) +^samba.wbinfo_simple.allocate-uid.wbinfo\(chgdcpass:local\) +^samba.wbinfo_simple.allocate-gid.wbinfo\(chgdcpass:local\) +^samba.wbinfo_simple.allocate-uid.wbinfo\(rodc:local\) +^samba.wbinfo_simple.allocate-gid.wbinfo\(rodc:local\) # # These do not work against winbindd in member mode for unknown reasons # diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index 4e397a8f134..ef752a51cdf 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -523,7 +523,7 @@ for env in ["nt4_dc", "nt4_member", "ad_dc", "ad_member", "s4member", "chgdcpass "--allocate-gid"] for t in tests: - plantestsuite("samba.wbinfo_simple.(%s:local).%s" % (env, t), "%s:local" % env, [os.path.join(srcdir(), "nsswitch/tests/test_wbinfo_simple.sh"), t]) + plantestsuite("samba.wbinfo_simple.%s" % (t.replace(" --", ".").replace("--", "")), "%s:local" % env, [os.path.join(srcdir(), "nsswitch/tests/test_wbinfo_simple.sh"), t]) plantestsuite( "samba.wbinfo_sids2xids.(%s:local)" % env, "%s:local" % env,