[Lldb-commits] [lldb] r201273 - Fixed the TestLogging test.

Greg Clayton gclayton at apple.com
Wed Feb 12 15:46:08 PST 2014


Author: gclayton
Date: Wed Feb 12 17:46:08 2014
New Revision: 201273

URL: http://llvm.org/viewvc/llvm-project?rev=201273&view=rev
Log:
Fixed the TestLogging test.


Modified:
    lldb/trunk/test/logging/TestLogging.py

Modified: lldb/trunk/test/logging/TestLogging.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/logging/TestLogging.py?rev=201273&r1=201272&r2=201273&view=diff
==============================================================================
--- lldb/trunk/test/logging/TestLogging.py (original)
+++ lldb/trunk/test/logging/TestLogging.py Wed Feb 12 17:46:08 2014
@@ -64,8 +64,16 @@ class LogTestCase(TestBase):
             "HandleCommand, wants_raw_input:'False'\n",
             "HandleCommand, command line after removing command name(s): ''\n",
             "HandleCommand, command succeeded\n",
+            "Processing command: log disable lldb\n",
+            "HandleCommand, cmd_obj : 'log disable'\n",
+            "HandleCommand, revised_command_line: 'log disable lldb'\n",
+            "HandleCommand, wants_raw_input:'False'\n",
+            "HandleCommand, command line after removing command name(s): 'lldb'\n",
+            "HandleCommand, command succeeded\n"
             ]
 
+        self.runCmd("log disable lldb")
+
         self.assertTrue (os.path.isfile (log_file))
 
         idx = 0
@@ -73,7 +81,6 @@ class LogTestCase(TestBase):
         f = open (log_file)
         log_lines = f.readlines()
         f.close ()
-        self.runCmd("log disable lldb")
         os.remove (log_file)
 
         err_msg = ""





More information about the lldb-commits mailing list