]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
run_seed_to.sh: set -e
authorSage Weil <sage.weil@dreamhost.com>
Fri, 13 Apr 2012 23:14:57 +0000 (16:14 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Sat, 14 Apr 2012 03:38:25 +0000 (20:38 -0700)
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/test/filestore_test/run_seed_to.sh

index 4473db3eca5201dbe554bc8d5ff7316cb7b99f5e..2cc34617ce307c5c1f5e50574b3e6a4956d576bf 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -e
+
 seed=$1
 killat=$2
 
@@ -13,7 +15,7 @@ rm -fr a a.fail a.recover
 ./test_filestore_idempotent_sequence run-sequence-to $to a a/journal \
     --filestore-xattr-use-omap --test-seed $seed --osd-journal-size 100 \
     --filestore-kill-at $killat \
-    --log-file a.fail --debug-filestore 20
+    --log-file a.fail --debug-filestore 20 || true
 
 stop=`./test_filestore_idempotent_sequence get-last-op a a/journal --filestore-xattr-use-omap \
     --log-file a.recover --debug-filestore 20`