mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Expect all testcases dealing with invalid salts to fail on FreeBSD
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
950e4fbd37
commit
38cad2971d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290907
@ -124,6 +124,10 @@ ATF_TC_HEAD(crypt_salts, tc)
|
||||
ATF_TC_BODY(crypt_salts, tc)
|
||||
{
|
||||
for (size_t i = 0; tests[i].hash; i++) {
|
||||
#if defined(__FreeBSD__)
|
||||
if (22 <= i)
|
||||
atf_tc_expect_fail("Old-style/bad inputs fail on FreeBSD");
|
||||
#endif
|
||||
char *hash = crypt(tests[i].pw, tests[i].hash);
|
||||
if (!hash) {
|
||||
ATF_CHECK_MSG(0, "Test %zu NULL\n", i);
|
||||
|
Loading…
Reference in New Issue
Block a user