fix XFSQA #184 for multiple invocations
authorLachlan McIlroy <lachlan@sgi.com>
Mon, 25 Feb 2008 05:19:03 +0000 (05:19 +0000)
committerLachlan McIlroy <lachlan@sgi.com>
Mon, 25 Feb 2008 05:19:03 +0000 (05:19 +0000)
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

184

diff --git a/184 b/184
index a46beb8cf6c55d6612dcbf7a47e9b7e88bdd37ae..30839cb8f1c01f539dbf785a468424725ffe6a2d 100644 (file)
--- a/184
+++ b/184
@@ -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