summaryrefslogtreecommitdiffstats
path: root/lldb/test/settings/TestSettings.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/settings/TestSettings.py')
-rw-r--r--lldb/test/settings/TestSettings.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/test/settings/TestSettings.py b/lldb/test/settings/TestSettings.py
index f4c58f32c8f..51c02595910 100644
--- a/lldb/test/settings/TestSettings.py
+++ b/lldb/test/settings/TestSettings.py
@@ -13,8 +13,8 @@ class SettingsCommandTestCase(TestBase):
@classmethod
def classCleanup(cls):
- system(["/bin/sh", "-c", "rm output.txt"])
- #system(["/bin/sh", "-c", "rm stdout.txt"])
+ system(["/bin/sh", "-c", "rm -f output.txt"])
+ system(["/bin/sh", "-c", "rm -f stdout.txt"])
def test_set_prompt(self):
"""Test that 'set prompt' actually changes the prompt."""
@@ -45,7 +45,7 @@ class SettingsCommandTestCase(TestBase):
# The overall display should also reflect the new setting.
self.expect("settings show",
- substrs = "term-width (int) = '70'")
+ substrs = ["term-width (int) = '70'"])
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
def test_with_dsym(self):
OpenPOWER on IntegriCloud