summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2014-02-04 16:17:16 +0200
committerRiku Voipio <riku.voipio@linaro.org>2014-02-04 16:17:16 +0200
commit54c97731e94cde96fac4fce8b95b2078be0eea07 (patch)
tree9b82d19fb94f7dae7d7f6322b4b3b7ae1bced24b
parent3e1ed7550cdff370ae3de48663a8770258c61f83 (diff)
remove tail command
causes spurious messages to lava results. While at it, add a check to test if xl create succeeded.
-rwxr-xr-xlava/scripts/test-guest.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/lava/scripts/test-guest.sh b/lava/scripts/test-guest.sh
index 9da4cb8..6e59a82 100755
--- a/lava/scripts/test-guest.sh
+++ b/lava/scripts/test-guest.sh
@@ -77,7 +77,9 @@ kpartx -d $ROOTFS_BUILD_FILENAME
# Create the guest
loop=`losetup -f --show $ROOTFS_BUILD_FILENAME`
+TEST="xl-create-guest"
xl -vvv create $root/files/guest1.xl
+check_return_fail
# Disable exit on error during the waiting loop
@@ -92,7 +94,6 @@ while [ true ]; do
break
fi
xl list -v
- tail /var/log/xen/console/guest-guest1.log
sleep 60
timeout=$((timeout - 1))
if [ $timeout -eq 0 ]; then