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

s3:selftests: 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 14:06:33 +02:00 committed by Andreas Schneider
parent 48289b6964
commit eabf9803ec

View File

@ -1157,7 +1157,16 @@ for env in ['fileserver', 'simpleserver']:
"$USERNAME", "$PASSWORD", "$SERVER",
smbclient3, env])
for env in ['ad_dc', 'ad_dc_fips', 'ad_member_fips']:
plantestsuite("samba3.blackbox.smbclient.kerberos", 'ad_dc',
[os.path.join(samba3srcdir,
"script/tests/test_smbclient_kerberos.sh"),
"alice",
"$REALM",
"Secret007",
"$SERVER",
smbclient3,
env])
for env in ['ad_dc_fips', 'ad_member_fips']:
plantestsuite("samba3.blackbox.smbclient.kerberos", env,
[os.path.join(samba3srcdir,
"script/tests/test_smbclient_kerberos.sh"),
@ -1166,7 +1175,9 @@ for env in ['ad_dc', 'ad_dc_fips', 'ad_member_fips']:
"Secret007",
"$SERVER",
smbclient3,
env])
env],
environ={'GNUTLS_FORCE_FIPS_MODE': '1',
'OPENSSL_FORCE_FIPS_MODE': '1'})
plantestsuite("samba3.blackbox.rpcclient_netsessenum", "ad_member",
[os.path.join(samba3srcdir,