From: fsgqa Date: Thu, 15 May 2003 01:52:19 +0000 (+0000) Subject: Add verbosity to a failing bench QA script. X-Git-Tag: v1.1.0~995 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=2ea66fa4aa0d5cd150930d60afc2e748a320aba4;hp=16f3cf713f97a161eb96bba540db826cc43e4509 Add verbosity to a failing bench QA script. --- diff --git a/bench b/bench index f1acdc2b..4b5a5410 100755 --- 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()