mirror of
https://passt.top/passt
synced 2025-03-20 07:58:53 +00:00
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>
This commit is contained in:
parent
fe536d78ba
commit
3d4c2a44a6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user