From c9ff6542006fa999201a90694bff3b0aaff79089 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Fri, 31 Mar 2023 08:38:09 +1300 Subject: [PATCH] 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 Reviewed-by: Andrew Bartlett --- source4/selftest/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index 390ace5a766..c11347f4f79 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -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)