summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/commands/command/nested_alias/TestNestedAlias.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/commands/command/nested_alias/TestNestedAlias.py b/lldb/packages/Python/lldbsuite/test/commands/command/nested_alias/TestNestedAlias.py
index 37c56f6d216..1a7b01ab260 100644
--- a/lldb/packages/Python/lldbsuite/test/commands/command/nested_alias/TestNestedAlias.py
+++ b/lldb/packages/Python/lldbsuite/test/commands/command/nested_alias/TestNestedAlias.py
@@ -88,3 +88,12 @@ class NestedAliasTestCase(TestBase):
'Show variables for the current',
'stack frame.'],
matching=True)
+
+ # Check that foself was resolved and is now independent of 'fo'.
+ self.runCmd('command unalias fo')
+ self.expect(
+ 'help foself',
+ substrs=[
+ 'Show variables for the current',
+ 'stack frame.'],
+ matching=True)
OpenPOWER on IntegriCloud