summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-11-23 08:18:52 +0000
committerngie <ngie@FreeBSD.org>2015-11-23 08:18:52 +0000
commita82bcd2518df444a09bcbde8e10533e92d82082e (patch)
tree62bb2360cd1fd1e68242117523ef8c90550faef7 /contrib/netbsd-tests/lib
parentd0fe4dbb7123d5750e67bc7c2cdc1ca58a6f4c53 (diff)
downloadFreeBSD-src-a82bcd2518df444a09bcbde8e10533e92d82082e.zip
FreeBSD-src-a82bcd2518df444a09bcbde8e10533e92d82082e.tar.gz
MFC r290907:
Expect all testcases dealing with invalid salts to fail on FreeBSD Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/netbsd-tests/lib')
-rw-r--r--contrib/netbsd-tests/lib/libcrypt/t_crypt.c4
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);
OpenPOWER on IntegriCloud