summaryrefslogtreecommitdiff
path: root/lldb/test/Shell/Host/TestSytemLogChannel.test
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/Shell/Host/TestSytemLogChannel.test')
-rw-r--r--lldb/test/Shell/Host/TestSytemLogChannel.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/test/Shell/Host/TestSytemLogChannel.test b/lldb/test/Shell/Host/TestSytemLogChannel.test
new file mode 100644
index 000000000000..4de699f0e09a
--- /dev/null
+++ b/lldb/test/Shell/Host/TestSytemLogChannel.test
@@ -0,0 +1,3 @@
+RUN: %lldb -o 'log list' -o 'log disable system' 2>&1 | FileCheck %s
+CHECK-NOT: Logging categories for 'system'
+CHECK: Invalid log channel 'system'