diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-05-19 01:24:47 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-05-19 15:24:22 +0200 |
commit | 3d4c2a44a69bba90f3ca70ba998b92ce892bbcd8 (patch) | |
tree | 4e69967418a8528ef17a972686ebac0286d55e7c | |
parent | fe536d78bada50c9610a74f96a272379a5223ff1 (diff) | |
download | passt-3d4c2a44a69bba90f3ca70ba998b92ce892bbcd8.tar passt-3d4c2a44a69bba90f3ca70ba998b92ce892bbcd8.tar.gz passt-3d4c2a44a69bba90f3ca70ba998b92ce892bbcd8.tar.bz2 passt-3d4c2a44a69bba90f3ca70ba998b92ce892bbcd8.tar.lz passt-3d4c2a44a69bba90f3ca70ba998b92ce892bbcd8.tar.xz passt-3d4c2a44a69bba90f3ca70ba998b92ce892bbcd8.tar.zst passt-3d4c2a44a69bba90f3ca70ba998b92ce892bbcd8.zip |
tests: Don't check exit code for every command in demo mode
Having all those 'echo $?' is rather distracting in demos.
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Sefano Brivio <sbrivio@redhat.com>
-rwxr-xr-x | test/lib/term | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lib/term b/test/lib/term index 004c2a2..0f581de 100755 --- a/test/lib/term +++ b/test/lib/term @@ -232,6 +232,9 @@ pane_parse() { # $1: Pane name pane_status() { pane_wait "${1}" + + [ ${DEMO} -eq 1 ] && return 0 + __status="$(pane_parse "${1}")" while ! [ "${__status}" -eq "${__status}" ]; do sleep 1 |