Exit early from script on error.
authorRichard Jones <rjones@redhat.com>
Wed, 13 May 2009 10:44:11 +0000 (11:44 +0100)
committerRichard Jones <rjones@redhat.com>
Wed, 13 May 2009 10:44:11 +0000 (11:44 +0100)
test-bootbootboot.sh

index 731f715..a0afa83 100755 (executable)
@@ -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