svn commit: r290907 - head/contrib/netbsd-tests/lib/libcrypt
Garrett Cooper
ngie at FreeBSD.org
Mon Nov 16 04:04:06 UTC 2015
Author: ngie
Date: Mon Nov 16 04:04:05 2015
New Revision: 290907
URL: https://svnweb.freebsd.org/changeset/base/290907
Log:
Expect all testcases dealing with invalid salts to fail on FreeBSD
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/lib/libcrypt/t_crypt.c
Modified: head/contrib/netbsd-tests/lib/libcrypt/t_crypt.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libcrypt/t_crypt.c Mon Nov 16 04:02:24 2015 (r290906)
+++ head/contrib/netbsd-tests/lib/libcrypt/t_crypt.c Mon Nov 16 04:04:05 2015 (r290907)
@@ -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);
More information about the svn-src-all
mailing list