From: Tim Shimmin Date: Tue, 15 Jul 2008 06:17:47 +0000 (+0000) Subject: If test 078 fails and you try to run it again immediately, it X-Git-Tag: v1.1.0~370 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5316024f6f3706105a01cf1d064d78da66b0c699;p=xfstests-dev.git If test 078 fails and you try to run it again immediately, it will execute a 'rm -f' on a directory which will fail. This should be a rmdir.... Signed-off-by: Dave Chinner Merge of master-melb:xfs-cmds:31637a by kenmcd. If test 078 fails and you try to run it again immediately, it will execute a 'rm -f' on a directory which will fail. This should be a rmdir.... Signed-off-by: Dave Chinner --- diff --git a/078 b/078 index 623bcc9d..ee8d7f73 100755 --- a/078 +++ b/078 @@ -50,8 +50,8 @@ _filter_io() # real QA test starts here echo "*** create loop mount point" -rm -f $LOOP_MNT 2>/dev/null -mkdir $LOOP_MNT || _fail "cannot create loopback mount point" +rmdir $LOOP_MNT 2>/dev/null +mkdir -p $LOOP_MNT || _fail "cannot create loopback mount point" _grow_loop() {