On Wed Jan 29 05:15:54 2025 +0000, eric pouech wrote:
it looks to me that the test would be more complete if instead of check_name_and_length argument you'd pass a unicode string (assuming all STATUS_SUCCESS should have a matching UNICODE_STRING), while the status returning an error should have a NULL unicode string. and the test below for the returned string should be tested agains that string and not the input mask
Agreed, it makes more sense to have a comparison string and not just compare to the input mask. There are a few tests which use wildcards, which was why this flag was initially added, but now I simply pass a NULL unicode string and the comparison is not done.