Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cheribsdtest: Improve reason if child unexpectedly dies with a signal #1737

Merged
merged 1 commit into from
Jul 7, 2023

Commits on Jul 6, 2023

  1. cheribsdtest: Improve reason if child unexpectedly dies with a signal

    Currently we just use "Child exited abnormally" for when the child
    process doesn't exit cleanly, which is unhelpful when debugging, so
    print the signal number instead if it was due to a signal.
    
    Note that tests which deliberately provoke signals still exit cleanly,
    since the child's test harness will catch the signal, save various parts
    of the given siginfo_t and exit. This code is only for more catastrophic
    situations (e.g. signal delivery itself is broken or the child received
    a fatal signal before even setting up the handler).
    jrtc27 committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    962d930 View commit details
    Browse the repository at this point in the history