From c16d3b2281602c5fc4f46509644d5db12c23eb2f Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Tue, 18 Apr 2006 03:48:00 +0000 Subject: [PATCH] Make test 41 fail if it cannot run mkfs successfully. Merge of master-melb:xfs-cmds:25749a by kenmcd. --- 041 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/041 b/041 index 7375d23e..3eca05e1 100755 --- a/041 +++ b/041 @@ -37,7 +37,7 @@ _supported_os IRIX Linux _require_scratch _require_nobigloopfs - +umount $SCRATCH_DEV 2>/dev/null _fill() { @@ -48,11 +48,12 @@ _fill() _do_die_on_error=message_only rm -f $seq.full -#agsize=16 agsize=32 echo -n "Make $agsize megabyte filesystem on SCRATCH_DEV and mount... " _do "_scratch_mkfs_xfs -dsize=${agsize}m,agcount=1" +[ $? -ne 0 ] && exit _do "_scratch_mount" +[ $? -ne 0 ] && exit echo "done" # full allocation group -> partial; partial -> expand partial + new partial; -- 2.47.3