[Lldb-commits] [PATCH] Fix AbbreviationsTestCase and AliasTestCase tests after r226068

Ilia K ki.stfu at gmail.com
Tue Jan 20 06:41:15 PST 2015


Fix AliasTestCase tests.


http://reviews.llvm.org/D7066

Files:
  test/functionalities/abbreviation/TestAbbreviations.py
  test/functionalities/alias/TestAliases.py

Index: test/functionalities/abbreviation/TestAbbreviations.py
===================================================================
--- test/functionalities/abbreviation/TestAbbreviations.py
+++ test/functionalities/abbreviation/TestAbbreviations.py
@@ -34,7 +34,7 @@
 
         # Only one matching command: execute it.
         self.expect("h",
-                    startstr = "The following is a list of built-in, permanent debugger commands:")
+                    startstr = "Debugger commands:")
 
         # Execute cleanup function during test tear down
         def cleanup():
Index: test/functionalities/alias/TestAliases.py
===================================================================
--- test/functionalities/alias/TestAliases.py
+++ test/functionalities/alias/TestAliases.py
@@ -114,10 +114,10 @@
         self.expect ("help -a run",
                      substrs = [ "'run' is an abbreviation for 'process launch -c /bin/sh --'" ])
 
-        self.expect ("help -a",
+        self.expect ("help",
                      substrs = [ 'run', 'process launch -c /bin/sh' ])
 
-        self.expect ("help", matching=False,
+        self.expect ("help -a", matching=False,
                      substrs = [ "'run'", 'process launch -c /bin/sh' ])
 
         self.expect ("run",

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7066.18427.patch
Type: text/x-patch
Size: 1289 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150120/1c89acd6/attachment.bin>


More information about the lldb-commits mailing list