[Lldb-commits] [lldb] r370717 - [lldb][NFC] Also test unaliasing in nested_alias test
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 3 02:19:51 PDT 2019
Author: teemperor
Date: Tue Sep 3 02:19:51 2019
New Revision: 370717
URL: http://llvm.org/viewvc/llvm-project?rev=370717&view=rev
Log:
[lldb][NFC] Also test unaliasing in nested_alias test
Modified:
lldb/trunk/packages/Python/lldbsuite/test/commands/command/nested_alias/TestNestedAlias.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/commands/command/nested_alias/TestNestedAlias.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/commands/command/nested_alias/TestNestedAlias.py?rev=370717&r1=370716&r2=370717&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/commands/command/nested_alias/TestNestedAlias.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/commands/command/nested_alias/TestNestedAlias.py Tue Sep 3 02:19:51 2019
@@ -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)
More information about the lldb-commits
mailing list