util:test: test_ms_fn_match_protocol_no_wildcard: allow -1
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 4 Apr 2024 04:23:15 +0000 (17:23 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 10 Apr 2024 22:56:33 +0000 (22:56 +0000)
commitd4ce8231f986a359dc657cd1a6b416270a53c7d3
treea01734b9fb36109e98ef9a4b9ceb5227f42ea8dd
parentf788a399996a73b2aa206ec2b15f5943b06660e0
util:test: test_ms_fn_match_protocol_no_wildcard: allow -1

We have changed strcasecmp_m() to return -1 in a place where it used
to return -3. This upset a test, but it shouldn't have: the exact
value of the negative int is not guaranteed by the function.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15625

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/util/tests/test_ms_fnmatch.c
selftest/knownfail.d/test_ms_fn_match_protocol_no_wildcard [deleted file]