summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/settings/TestSettings.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/test/settings/TestSettings.py b/lldb/test/settings/TestSettings.py
index 68d21588765..bf1e0965d51 100644
--- a/lldb/test/settings/TestSettings.py
+++ b/lldb/test/settings/TestSettings.py
@@ -19,6 +19,14 @@ class SettingsCommandTestCase(TestBase):
system(["/bin/sh", "-c", "rm -f stderr.txt"])
system(["/bin/sh", "-c", "rm -f stdout.txt"])
+ def test_apropos_should_also_search_settings_description(self):
+ """Test that 'apropos' command should also search descriptions for the settings variables."""
+
+ self.expect("apropos 'environment variable'",
+ substrs = ["target.process.env-vars",
+ "environment variables",
+ "executable's environment"])
+
def test_set_prompt(self):
"""Test that 'set prompt' actually changes the prompt."""
OpenPOWER on IntegriCloud