diff options
author | Johnny Chen <johnny.chen@apple.com> | 2010-10-08 00:47:30 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2010-10-08 00:47:30 +0000 |
commit | 138532af064b61d6e68f2936e5675226fe77fc33 (patch) | |
tree | 7a353e2160f48368d33ab58da5a302b9f6ef17c4 | |
parent | 0bb2f9afa9f7126139fcd01733d142c341c43334 (diff) | |
download | bcm5719-llvm-138532af064b61d6e68f2936e5675226fe77fc33.tar.gz bcm5719-llvm-138532af064b61d6e68f2936e5675226fe77fc33.zip |
The expected term-width output string should be put within a list, not as a list of characters.
Also uncomment the cleanup of "stdout.txt" file as part of the class cleanup routine even though
test_set_output_path() is failing right now.
llvm-svn: 116023
-rw-r--r-- | lldb/test/settings/TestSettings.py | 6 |
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): |