Add debug output to aid in determining why goodResult
!= result
MFC after: 1 week PR: 210619 (for diagnosis) Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
e17304ca2a
commit
54ab80ee61
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user