Skip to content

Commit

Permalink
ptrace_test: Add more debug output on test failures
Browse files Browse the repository at this point in the history
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 ||/&&.

Test Plan:
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.

PR:		243605
Reviewed By:	jhb
Differential Revision: https://reviews.freebsd.org/D28887
  • Loading branch information
arichardson committed Mar 1, 2021
1 parent 60c4ec8 commit 96a9e50
Showing 1 changed file with 770 additions and 746 deletions.
Loading

0 comments on commit 96a9e50

Please sign in to comment.