diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2023-02-12 23:52:29 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-02-13 00:05:48 +0100 |
commit | 67920b882045069d755945cdc56117bfff4b1fcd (patch) | |
tree | ef49ca5be937285464fcd6be3fc432a3bdf1f728 /icmp.c | |
parent | a234407f5c561b729d7d77f4f9ab82df3ce6a6c7 (diff) | |
download | passt-67920b882045069d755945cdc56117bfff4b1fcd.tar passt-67920b882045069d755945cdc56117bfff4b1fcd.tar.gz passt-67920b882045069d755945cdc56117bfff4b1fcd.tar.bz2 passt-67920b882045069d755945cdc56117bfff4b1fcd.tar.lz passt-67920b882045069d755945cdc56117bfff4b1fcd.tar.xz passt-67920b882045069d755945cdc56117bfff4b1fcd.tar.zst passt-67920b882045069d755945cdc56117bfff4b1fcd.zip |
test/pasta_options: Ignore failures on shell 'exit'
On shell 'exit' commands, running shells from pasta, we might get:
Cannot set tty process group (No such process)
as some TTY devices might be unaccessible. This is harmless, but
after commit "pasta: propagate exit code from child command", we'll
get test failures there, at least with dash.
Ignore those explicitly with a ugly workaround: we can't simply do
something like:
exit || :
because the failure is reported by the shell itself once it exits,
regardless of the command evaluation.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'icmp.c')
0 files changed, 0 insertions, 0 deletions