s4-torture: better, failing, tests for GUID_from_string
These tests reveal that the current implementation accepts all kinds
of invalid GUIDs. In particular, we fail on these ones:
"
00000001-0002-0003-0405--
060708090a0"
"-
0000001-0002-0003-0405-
060708090a0b"
"-
0000001-0002-0003-04-5-
060708090a0b"
"
d0000001-0002-0003-0405-
060708090a-b"
"
00000001- -2-0003-0405-
060708090a0b"
"
00000001-0002-0003-0405-
060708090a0"
"0x000001-0002-0003-0405-
060708090a0b"
"
00000001-0x02-0x03-0405-
060708090a0b"
This test is added to selftest/knownfail.
The test for valid string GUIDs is extended to test upper and mixed case
GUIDs.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>