1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

selftest: Account for have_fast_support in determining whether FAST is supported

have_fast_support is unconditionally set to 1, so this doesn't change
any behaviour.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-03-31 08:38:09 +13:00 committed by Andrew Bartlett
parent 2f53dd59a2
commit c9ff654200

View File

@ -1056,7 +1056,7 @@ for env, fast_support in [("ad_dc_default:local", True),
planoldpythontestsuite(env, "samba.tests.krb5.s4u_tests",
environ={
**krb5_environ,
'FAST_SUPPORT': int(fast_support),
'FAST_SUPPORT': int(have_fast_support and fast_support),
})
planoldpythontestsuite("rodc:local", "samba.tests.krb5.rodc_tests",
environ=krb5_environ)
@ -1731,7 +1731,7 @@ for env, fast_support in [("ad_dc", True),
planpythontestsuite(env, "samba.tests.krb5.compatability_tests",
environ={
**krb5_environ,
'FAST_SUPPORT': int(fast_support),
'FAST_SUPPORT': int(have_fast_support and fast_support),
})
planpythontestsuite("ad_dc", "samba.tests.krb5.kdc_tests",
environ=krb5_environ)