summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-02-12 23:46:08 +0000
committerGreg Clayton <gclayton@apple.com>2014-02-12 23:46:08 +0000
commitc7d8885be4fe0479eda490d483059ca3dd46390a (patch)
treed384d8b95391ab2ea94d38213522003c60b9829e
parentb7882b3bd11b46cca650e318bb7b921a1bfc8e21 (diff)
downloadbcm5719-llvm-c7d8885be4fe0479eda490d483059ca3dd46390a.tar.gz
bcm5719-llvm-c7d8885be4fe0479eda490d483059ca3dd46390a.zip
Fixed the TestLogging test.
llvm-svn: 201273
-rw-r--r--lldb/test/logging/TestLogging.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/lldb/test/logging/TestLogging.py b/lldb/test/logging/TestLogging.py
index 60aaeedf145..3f0aea4f75c 100644
--- a/lldb/test/logging/TestLogging.py
+++ b/lldb/test/logging/TestLogging.py
@@ -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 = ""
OpenPOWER on IntegriCloud