diff options
author | Renato Botelho <renato@netgate.com> | 2015-11-23 09:10:34 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-11-23 09:10:34 -0200 |
commit | 175c045d4a1c422d916e6326fe84ccbc0d0a113f (patch) | |
tree | b8b853af14fbe0de33493ba527990a2aa469dd8c /contrib/netbsd-tests/lib/libcrypt/t_crypt.c | |
parent | a9f1fcf48af9df36b9cd440fdc571067e1eef636 (diff) | |
parent | 749b28b1257beaf3e3d4f30302f7dfd901c958ac (diff) | |
download | FreeBSD-src-175c045d4a1c422d916e6326fe84ccbc0d0a113f.zip FreeBSD-src-175c045d4a1c422d916e6326fe84ccbc0d0a113f.tar.gz |
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'contrib/netbsd-tests/lib/libcrypt/t_crypt.c')
-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); |