Having all those 'echo $?' is rather distracting in demos. Signed-off-by: Sefano Brivio <sbrivio(a)redhat.com> --- test/lib/term | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.35.1