On Thu, May 19, 2022 at 01:28:29AM +0200, Stefano Brivio wrote: > Having all those 'echo $?' is rather distracting in demos. > > Signed-off-by: Sefano Brivio Reviewed-by: David Gibson > --- > 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 -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson