aboutsummaryrefslogtreecommitdiff
path: root/tools/boot/ci-qemu-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/boot/ci-qemu-test.sh')
-rwxr-xr-xtools/boot/ci-qemu-test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/boot/ci-qemu-test.sh b/tools/boot/ci-qemu-test.sh
index faa360db1a2c..63f0fc2c64b2 100755
--- a/tools/boot/ci-qemu-test.sh
+++ b/tools/boot/ci-qemu-test.sh
@@ -125,8 +125,8 @@ timeout 300 \
-snapshot -hda $hda 2>&1 | tee ${BOOTLOG}
# Check whether we succesfully booted...
-if grep -q 'Hello world.' ${BOOTLOG}; then
- echo "OK"
+if grep -q 'Hello world.' ${BOOTLOG} && egrep -q '^Uptime: ' ${BOOTLOG}; then
+ echo "Boot successful"
else
die "Did not boot successfully, see ${BOOTLOG}"
fi