forked from OSchip/llvm-project
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
This commit is contained in:
parent
0bb2f9afa9
commit
138532af06
|
@ -13,8 +13,8 @@ class SettingsCommandTestCase(TestBase):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def classCleanup(cls):
|
def classCleanup(cls):
|
||||||
system(["/bin/sh", "-c", "rm output.txt"])
|
system(["/bin/sh", "-c", "rm -f output.txt"])
|
||||||
#system(["/bin/sh", "-c", "rm stdout.txt"])
|
system(["/bin/sh", "-c", "rm -f stdout.txt"])
|
||||||
|
|
||||||
def test_set_prompt(self):
|
def test_set_prompt(self):
|
||||||
"""Test that 'set prompt' actually changes the prompt."""
|
"""Test that 'set prompt' actually changes the prompt."""
|
||||||
|
@ -45,7 +45,7 @@ class SettingsCommandTestCase(TestBase):
|
||||||
|
|
||||||
# The overall display should also reflect the new setting.
|
# The overall display should also reflect the new setting.
|
||||||
self.expect("settings show",
|
self.expect("settings show",
|
||||||
substrs = "term-width (int) = '70'")
|
substrs = ["term-width (int) = '70'"])
|
||||||
|
|
||||||
@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):
|
||||||
|
|
Loading…
Reference in New Issue