From f072bc05f9bf61c4a45257c4eb32a55fefa10da8 Mon Sep 17 00:00:00 2001 From: ngie Date: Mon, 16 Nov 2015 04:04:05 +0000 Subject: Expect all testcases dealing with invalid salts to fail on FreeBSD MFC after: 1 week Sponsored by: EMC / Isilon Storage Division --- contrib/netbsd-tests/lib/libcrypt/t_crypt.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'contrib/netbsd-tests/lib/libcrypt/t_crypt.c') 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); -- cgit v1.1