Date: Fri, 8 Jul 2016 19:19:30 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r302447 - stable/10/contrib/netbsd-tests/lib/libc/string Message-ID: <201607081919.u68JJUC1024145@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Fri Jul 8 19:19:30 2016 New Revision: 302447 URL: https://svnweb.freebsd.org/changeset/base/302447 Log: MFC r301749: Add debug output to aid in determining why `goodResult` != `result` PR: 210619 (for diagnosis) Modified: stable/10/contrib/netbsd-tests/lib/libc/string/t_memcpy.c Directory Properties: stable/10/ (props changed) Modified: stable/10/contrib/netbsd-tests/lib/libc/string/t_memcpy.c ============================================================================== --- stable/10/contrib/netbsd-tests/lib/libc/string/t_memcpy.c Fri Jul 8 19:16:50 2016 (r302446) +++ stable/10/contrib/netbsd-tests/lib/libc/string/t_memcpy.c Fri Jul 8 19:19:30 2016 (r302447) @@ -108,7 +108,12 @@ ATF_TC_BODY(memcpy_basic, tc) if (i != j) runTest(start[i], start[j]); MD5End(mc, result); +#ifdef __NetBSD__ ATF_REQUIRE_EQ(strcmp(result, goodResult), 0); +#else + ATF_REQUIRE_EQ_MSG(strcmp(result, goodResult), 0, "%s != %s", + result, goodResult); +#endif } ATF_TC(memccpy_simple);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607081919.u68JJUC1024145>