diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2010-09-07 17:12:10 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2010-09-07 17:12:10 +0000 |
| commit | 881c371af33bcd6d5dab9e18d7eeaeb428b989c1 (patch) | |
| tree | 769df3e251ba3eadda1da11f046aec6f26628751 | |
| parent | 688338eec3b3ab360237ac5771daa22ed5b943fc (diff) | |
| download | bcm5719-llvm-881c371af33bcd6d5dab9e18d7eeaeb428b989c1.tar.gz bcm5719-llvm-881c371af33bcd6d5dab9e18d7eeaeb428b989c1.zip | |
Added comments.
llvm-svn: 113214
| -rw-r--r-- | lldb/test/settings/TestSettings.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/test/settings/TestSettings.py b/lldb/test/settings/TestSettings.py index b87b9bb48c7..35b12f98e2d 100644 --- a/lldb/test/settings/TestSettings.py +++ b/lldb/test/settings/TestSettings.py @@ -13,9 +13,15 @@ class SettingsCommandTestCase(TestBase): def test_set_prompt(self): """Test that 'set prompt' actually changes the prompt.""" + + # Use '-o' option to override the existing instance setting. self.runCmd("settings set -o prompt 'lldb2'") + + # Immediately test the setting. self.expect("settings show prompt", startstr = "prompt (string) = 'lldb2'") + + # The overall display should also reflect the new setting. self.expect("settings show", substrs = ["prompt (string) = 'lldb2'"]) |

