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
|
# $1: Pane name
|
||||||
pane_status() {
|
pane_status() {
|
||||||
pane_wait "${1}"
|
pane_wait "${1}"
|
||||||
|
|
||||||
|
[ ${DEMO} -eq 1 ] && return 0
|
||||||
|
|
||||||
__status="$(pane_parse "${1}")"
|
__status="$(pane_parse "${1}")"
|
||||||
while ! [ "${__status}" -eq "${__status}" ]; do
|
while ! [ "${__status}" -eq "${__status}" ]; do
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
Loading…
Reference in a new issue