mirror of
https://passt.top/passt
synced 2025-04-10 07:25:03 +02: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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue