Skip to contentSkip to conversation

fix XFSQA #184 for multiple invocations

PATCH New Christoph Hellwig 1 participant 1 message Jan 14, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Index: xfstests/184
===================================================================
RCS file: /cvs/xfs-cmds/xfstests/184,v
retrieving revision 1.1

184 +1 -0
diff -u -p -r1.1 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