summaryrefslogtreecommitdiff
path: root/test/TEST-09-ISSUE-2691
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2016-06-24 19:44:18 +0300
committerGitHub <noreply@github.com>2016-06-24 19:44:18 +0300
commitd946fb596f7ed010dce6685a499e0aebef00e451 (patch)
treefcf9d56b1f966f421e639c63b41c3edc3c657817 /test/TEST-09-ISSUE-2691
parent6edefe0b064e57af108f56172b3dafa0be61e234 (diff)
parent7cad32bbdeed20ac0daf6049ab093db902f4a4e7 (diff)
Merge pull request #3587 from martinpitt/master
Fix some test issues
Diffstat (limited to 'test/TEST-09-ISSUE-2691')
-rwxr-xr-xtest/TEST-09-ISSUE-2691/test.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/TEST-09-ISSUE-2691/test.sh b/test/TEST-09-ISSUE-2691/test.sh
index e247694f01..8ae02e61ac 100755
--- a/test/TEST-09-ISSUE-2691/test.sh
+++ b/test/TEST-09-ISSUE-2691/test.sh
@@ -18,12 +18,16 @@ check_result_qemu() {
[[ -f $TESTDIR/failed ]] && cat $TESTDIR/failed
ls -l $TESTDIR/journal/*/*.journal
test -s $TESTDIR/failed && ret=$(($ret+1))
+ [ -n "$TIMED_OUT" ] && ret=$(($ret+1))
return $ret
}
test_run() {
- run_qemu || return 1
- check_result_qemu || return 1
+ if run_qemu; then
+ check_result_qemu || return 1
+ else
+ dwarn "can't run QEMU, skipping"
+ fi
return 0
}