summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-05-13 11:44:11 +0100
committerRichard Jones <rjones@redhat.com>2009-05-13 11:44:11 +0100
commitc1f9ecec84093ea64f30311246fc18849a1aa460 (patch)
treecd8df145196519a5e1f54b6d82ca183ca46226eb
parent1ed352b5dd07ee6068e0255e17bf81dc609af702 (diff)
downloadlibguestfs-c1f9ecec84093ea64f30311246fc18849a1aa460.tar.gz
libguestfs-c1f9ecec84093ea64f30311246fc18849a1aa460.tar.xz
libguestfs-c1f9ecec84093ea64f30311246fc18849a1aa460.zip
Exit early from script on error.
-rwxr-xr-xtest-bootbootboot.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-bootbootboot.sh b/test-bootbootboot.sh
index 731f715e..a0afa834 100755
--- a/test-bootbootboot.sh
+++ b/test-bootbootboot.sh
@@ -21,6 +21,8 @@
# which doesn't have the required KVM patches). Test repeatedly
# booting.
+set -e
+
dd if=/dev/zero of=test1.img bs=1024k count=500
n=20