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 <dgc@sgi.com>
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 <dgc@sgi.com>
This commit is contained in:
Tim Shimmin
2008-07-15 06:17:47 +00:00
parent 4152ce81d7
commit 5316024f6f
+2 -2
View File
@@ -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()
{