mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
tests/krb5/raw_testcase.py: introduce STRICT_CHECKING=0 in order to relax the checks in future
We should write tests as strict as possible in order to let them run against Windows servers. But at the same time we want to allow tests to be useful for Samba too... Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> BUG: https://bugzilla.samba.org/show_bug.cgi?id=14817 (cherry picked from commit dff611976d6a067614e37add99edae214815a68b)
This commit is contained in:
parent
d48196e12f
commit
e089c45d44
@ -263,6 +263,11 @@ class RawKerberosTest(TestCaseInTempDir):
|
||||
self.do_asn1_print = False
|
||||
self.do_hexdump = False
|
||||
|
||||
strict_checking = samba.tests.env_get_var_value('STRICT_CHECKING', allow_missing=True)
|
||||
if strict_checking is None:
|
||||
strict_checking = '1'
|
||||
self.strict_checking = bool(int(strict_checking))
|
||||
|
||||
self.host = samba.tests.env_get_var_value('SERVER')
|
||||
|
||||
self.s = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user