]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: set -e in workunits
authorSage Weil <sage@newdream.net>
Wed, 14 Apr 2010 17:08:42 +0000 (10:08 -0700)
committerSage Weil <sage@newdream.net>
Wed, 14 Apr 2010 19:40:58 +0000 (12:40 -0700)
qa/workunits/bonnie.sh
qa/workunits/dbench.sh
qa/workunits/iozone.sh
qa/workunits/kernel_untar_build.sh
qa/workunits/pjd.sh
qa/workunits/snaptest1.sh
qa/workunits/trivial_sync.sh

index 9b860e00a2a1e6641784506014d6016542d9160a..698ba9c52acc2d5c50a5df4b96963614fed918df 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+set -e
+
 bonnie_bin=`which bonnie++`
 [ $? -eq 1 ] && bonnie_bin=/usr/sbin/bonnie++
 
index 07e04e053d402b0c5a695e9a161d146710974912..ea2be1cb905069c2cc1dbf8e349c8391e120682c 100755 (executable)
@@ -1,3 +1,6 @@
 #!/bin/bash
+
+set -e
+
 dbench 1
 dbench 10
index 311d07ed37bc791c1141357bd382e3635afb036d..f2a9dce7524dcbdc18baaa60baccffba7427ab9c 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+set -e
+
 iozone -c -e -s 1024M -r 16K -t 1 -F f1 -i 0 -i 1
 iozone -c -e -s 1024M -r 1M -t 1 -F f2 -i 0 -i 1
 iozone -c -e -s 10240M -r 1M -t 1 -F f3 -i 0 -i 1
index defb5b89abc99533fb26aa78a68f2476e2414047..158c330120540eddcad31921478e40f2f5ea558d 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+set -e
+
 wget http://ceph.newdream.net/qa/linux-2.6.33.tar.bz2
 mkdir t
 cd t
index 6f2ad46913aa8fb72f88e440a331464a72c3bddd..8529c7a78ea131b7c7a345de0ab0ad0f8014803d 100755 (executable)
@@ -1,4 +1,7 @@
 #!/bin/bash
+
+set -e
+
 wget http://ceph.newdream.net/qa/pjd.tgz
 tar zxvf pjd*.tgz
 cd pjd*
index 69e03113e9bbe55649c0d2f8f1828bf6e988ed2d..b898bce9cb063233f927c5aef80aa4aecda81603 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+set -e
+
 echo 1 > file1
 echo 2 > file2
 echo 3 > file3
index de5878b001dda4165dcaa432e281fc2a1bf44347..68e40722928c9b3afe4ec934c7e15fd96ee49b62 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+set -e
+
 mkdir foo
 echo foo > bar
-sync
\ No newline at end of file
+sync