fix XFSQA #184 for multiple invocations

Make sure the device node is removed before creating it to allow running
the testcase multiple times without recreating the filesystem.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of master-melb:xfs-cmds:30540a by kenmcd.

  fix XFSQA #184 for multiple invocations
This commit is contained in:
Lachlan McIlroy
2008-02-25 05:19:03 +00:00
parent eb29f379b6
commit 13ac0e3cd5
+1
View File
@@ -35,6 +35,7 @@ _supported_os IRIX Linux
_setup_testdir
rm -f $testdir/null
mknod $testdir/null c 1 3
chmod 666 $testdir/null
echo fred > $testdir/null