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
fc91d3317b
commit
53f13a1a09
@ -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