1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

selftest: Pass env variables to fips tests

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andreas Schneider 2021-07-27 16:06:07 +02:00 committed by Andreas Schneider
parent a324fc01b4
commit ebd00fbdd0

View File

@ -94,8 +94,11 @@ planpythontestsuite(
os.path.join(samba4srcdir, "..", "third_party", "waf")])
planpythontestsuite("fileserver", "samba.tests.smbd_fuzztest")
planpythontestsuite("nt4_dc_smb1", "samba.tests.dcerpc.binding")
for env in [ 'ad_dc:local', 'ad_dc_fips:local' ]:
planpythontestsuite(env, "samba.tests.dcerpc.samr_change_password")
planpythontestsuite('ad_dc:local', "samba.tests.dcerpc.samr_change_password")
planpythontestsuite('ad_dc_fips:local',
"samba.tests.dcerpc.samr_change_password",
environ={'GNUTLS_FORCE_FIPS_MODE': '1',
'OPENSSL_FORCE_FIPS_MODE': '1'})
def cmdline(script, *args):