Pass '-f' option to rm command so that it won't report an error if the file to

be removed does not exist for any reason.

llvm-svn: 116025
This commit is contained in:
Johnny Chen 2010-10-08 00:50:36 +00:00
parent 42a07e8545
commit 06b89fe646
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class BreakpointCommandTestCase(TestBase):
@classmethod @classmethod
def classCleanup(cls): def classCleanup(cls):
system(["/bin/sh", "-c", "rm output.txt"]) system(["/bin/sh", "-c", "rm -f output.txt"])
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
def test_with_dsym(self): def test_with_dsym(self):