passt/test/lib
David Gibson 3e0641f91f tests: Don't ignore errors during script
Most commands issued during the testing scripts aren't explicitly checked
for errors.  Therefore, if they fail, the shell will just keep on
executing.  This makes it difficult to figure out where things started
going wrong if things fall over.

Run the whole script with the set -e mode so that it will exit in the case
of any (unchecked) failing command.  To make this work we do need to add
explicit checks / fallbacks for some commands which we expect to fail.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
[sbrivio: use sh -e instead of setting -e later, so that we don't miss
 anything before set -e is issued]
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2022-05-19 15:24:15 +02:00
..
layout test: Add demo for Podman with pasta 2022-02-22 18:34:44 +01:00
perf_report test/lib: Consistent cols, rows, poster attributes for asciinema player 2022-04-07 11:44:35 +02:00
setup tests: Update mbuto git URLs 2022-05-19 15:24:15 +02:00
term tests: Improve control character filtering in pane_parse 2022-05-19 15:24:15 +02:00
test tests: Don't ignore errors during script 2022-05-19 15:24:15 +02:00
util test: Drop debugging left-overs in lib/util 2021-10-14 13:15:12 +02:00
video test/lib: Consistent cols, rows, poster attributes for asciinema player 2022-04-07 11:44:35 +02:00