Add verbosity to a failing bench QA script.
authorfsgqa <fsgqa>
Thu, 15 May 2003 01:52:19 +0000 (01:52 +0000)
committerfsgqa <fsgqa>
Thu, 15 May 2003 01:52:19 +0000 (01:52 +0000)
bench

diff --git a/bench b/bench
index f1acdc2b0a7bdff181b65254860f0059568065fa..4b5a5410d2c3c170c5977cf4aa98db1b99de5d9d 100755 (executable)
--- a/bench
+++ b/bench
@@ -91,11 +91,13 @@ _fail()
 bench_mkfs_xfs()
 {
     mkfs_xfs -f $extra_mkfs_options $@
+    [ $? -ne 0 ] && _fail "mkfs [$extra_mkfs_options] FAILED"
 }
 
 bench_mount_xfs()
 {
     mount -t xfs $extra_mount_options $@
+    [ $? -ne 0 ] && _fail "mount [$extra_mount_options] FAILED"
 }
 
 _run_benchmark()