svn commit: r291174 - stable/10/contrib/netbsd-tests/lib/libcrypt

Garrett Cooper ngie at FreeBSD.org
Mon Nov 23 08:18:53 UTC 2015


Author: ngie
Date: Mon Nov 23 08:18:52 2015
New Revision: 291174
URL: https://svnweb.freebsd.org/changeset/base/291174

Log:
  MFC r290907:
  
  Expect all testcases dealing with invalid salts to fail on FreeBSD
  
  Sponsored by: EMC / Isilon Storage Division

Modified:
  stable/10/contrib/netbsd-tests/lib/libcrypt/t_crypt.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/contrib/netbsd-tests/lib/libcrypt/t_crypt.c
==============================================================================
--- stable/10/contrib/netbsd-tests/lib/libcrypt/t_crypt.c	Mon Nov 23 08:17:32 2015	(r291173)
+++ stable/10/contrib/netbsd-tests/lib/libcrypt/t_crypt.c	Mon Nov 23 08:18:52 2015	(r291174)
@@ -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