]> sourceware.org Git - systemtap.git/commit
stap_run.exp: accept 'WARNING: Child process exited due to signal'
authorSerguei Makarov <smakarov@redhat.com>
Thu, 14 Oct 2021 20:44:23 +0000 (16:44 -0400)
committerSerguei Makarov <smakarov@redhat.com>
Thu, 14 Oct 2021 20:53:42 +0000 (16:53 -0400)
commit6d4b6424c6e410caba46bcfddb1d5109e81fef1d
treefbddef91a82ea0d16ed545281f8a027d557b5ac5
parent6fd6d5e29bc5bca65c3483fccbddf97809f903f0
stap_run.exp: accept 'WARNING: Child process exited due to signal'

This was causing numerous spurious FAIL outcomes on RHEL[89].
The extra "WARNING: Child process exited due to signal" is not an error,
it's merely stap communicating to the user that the child
process was interrupted, which is exactly what we do.

Not sure why it's printed on some systems and not others.
XXX There may be a deeper issue in that the tiny do-nothing binary
probed by the testcase (e.g. testsuite/systemtap.base/at_register.c)
was supposed to stop on its own and didn't.
Adding a delay to the first kill -INT $mypid makes the problem
more obvious.
testsuite/lib/stap_run.exp
This page took 0.025511 seconds and 5 git commands to generate.