diff options
author | ngie <ngie@FreeBSD.org> | 2015-11-16 04:04:05 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-11-16 04:04:05 +0000 |
commit | f072bc05f9bf61c4a45257c4eb32a55fefa10da8 (patch) | |
tree | 3dbff2fc647058bb66f805924f9b99b97b58cbc3 /contrib/netbsd-tests/lib | |
parent | ae5342f365279397b7453718634ce3872ce117f3 (diff) | |
download | FreeBSD-src-f072bc05f9bf61c4a45257c4eb32a55fefa10da8.zip FreeBSD-src-f072bc05f9bf61c4a45257c4eb32a55fefa10da8.tar.gz |
Expect all testcases dealing with invalid salts to fail on FreeBSD
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/netbsd-tests/lib')
-rw-r--r-- | contrib/netbsd-tests/lib/libcrypt/t_crypt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libcrypt/t_crypt.c b/contrib/netbsd-tests/lib/libcrypt/t_crypt.c index 1a192cb..a5a4dcb 100644 --- a/contrib/netbsd-tests/lib/libcrypt/t_crypt.c +++ b/contrib/netbsd-tests/lib/libcrypt/t_crypt.c @@ -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); |