Skip to content

Commit 23a0deb

Browse files
committed
[lldb] add review changes
1 parent 482e870 commit 23a0deb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lldb/test/Shell/Commands/command-process-save-core-not-a-plugin.test

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# with a plugin that does not exist.
33

44
# RUN: %clang_host -g %S/Inputs/main.c -o %t
5-
# RUN: %lldb %t -s %s -o exit 2>&1 | FileCheck %s
5+
# RUN: %lldb %t -o "settings set interpreter.stop-command-source-on-error false" -s %s -o exit 2>&1 | FileCheck %s
66

77
b main
88
# CHECK-LABEL: b main
@@ -14,6 +14,11 @@ run
1414
# CHECK: stop reason = breakpoint 1
1515
# CHECK: frame #0: {{.*}}`main at main.c
1616

17+
process save-core --plugin-name=minidump
18+
# CHECK-LABEL: process save-core --plugin-name=minidump
19+
# CHECK: error: 'process save-core' takes one arguments:
20+
# CHECK: Usage: {{.*}} FILE
21+
1722
process save-core --plugin-name=notaplugin dump
1823
# CHECK-LABEL: process save-core --plugin-name=notaplugin dump
1924
# CHECK: error: plugin name 'notaplugin' is not a valid ObjectFile plugin name. Valid names are:{{.*}}minidump{{.*}}

0 commit comments

Comments
 (0)