Files
rust/src/tools/remote-test-client
Martin Nordholts 148a220e38 remote-test-client: Exit code 128 + <signal-number> instead of 3
If the remote process is terminated by a signal, make `remote-test-client` exit
with the code `128 + <signal-number>` instead of always `3`. This follows common
practice among tools such as bash [^1]:

> When a command terminates on a fatal signal whose number is N, Bash uses the
> value 128+N as the exit status.

It also allows us to differentiate between `run-pass` and `run-crash` ui tests
without special case code in compiletest for that when `remote-test-client` is
used.

[^1]: https://www.gnu.org/software/bash/manual/html_node/Exit-Status.html
2025-07-04 20:44:26 +02:00
..
2021-09-20 22:21:42 -04:00