From 3d4c2a44a69bba90f3ca70ba998b92ce892bbcd8 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Thu, 19 May 2022 01:24:47 +0200 Subject: 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 Signed-off-by: Sefano Brivio --- test/lib/term | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') 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 -- cgit v1.2.3