pytest/sddl: split tests into canonical and non-canonical
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 13 Apr 2023 10:18:21 +0000 (22:18 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 28 Apr 2023 02:15:36 +0000 (02:15 +0000)
commit4652d2766a72dd1e1e30c429aae400fd9c07ecec
tree57909652fa564aec4a07ba99c70aadef25f20146
parent1107952c2b9012651589ad1676fa155f0d8b3819
pytest/sddl: split tests into canonical and non-canonical

The examples in the canonical list are already in the form that
Windows and Samba will use for that SD. We check the round trip.

The examples in the non-canonical list will change in a round trip, so
we also give the string we think they should end up as. These have
been checked on Windows.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/sddl.py
selftest/knownfail.d/sddl