Mostly automatic, using
CHILD_REQUIRE\(([^|&\n]*) == -> CHILD_REQUIRE_EQ_INT($1,
ATF_REQUIRE\(([^|&\n]*) == -> REQUIRE_EQ_INT($1, followed by
git-clang-format -f and then manually checking ones that contain ||/&&.
PR: 243605
Differential D28887
ptrace_test: Add more debug output on test failures arichardson on Feb 23 2021, 12:36 PM. Authored by Tags None Referenced Files
Details Mostly automatic, using PR: 243605 still getting the same failure but now it prints psr.sr_error (0) == EBADF (9) not met instead of just failing without printing the values.
Diff Detail
Event Timeline
Comment Actions Could you just use ATF_REQUIRE_EQ directly instead of the local REQUIRE_EQ_INT? Then dropping _INT from CHILD_REQUIRE_EQ() would be more symmetric to the ATF API.
Comment Actions Unless there are any further suggestions, I'll commit this tomorrow (since there are two dependent changes that unbreak the testsuite).
|