aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/Commands/command-options.test
blob: f75c0993ed78e3dbd3c732b7e4189f414a657cd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# RUN: echo quit | %lldb -O "log enable -x" \
# RUN:   | FileCheck %s --strict-whitespace --check-prefix=CHECK1
#            (lldb) log enable -x
# CHECK1:{{^                  (\^|˄)(~|˜)}}
# CHECK1: {{^                  (╰─ )?error: unknown or ambiguous option}}

# RUN: echo quit | %lldb -O "    log enable -xxxxxxx" \
# RUN:   | FileCheck %s --strict-whitespace --check-prefix=CHECK2
#            (lldb)     log enable -xxxxxxx
# CHECK2:{{^                      (\^|˄)(~|˜)+}}
# CHECK2: {{^                      (╰─ )?error: unknown or ambiguous option}}
# RUN: echo quit | %lldb -O "log enable dwarf all -f dwarf.log -x" \
# RUN:   | FileCheck %s --strict-whitespace --check-prefix=CHECK3
#            (lldb) log enable dwarf all -f dwarf.log -x
# CHECK3:{{^                                         (\^|˄)(~|˜)}}
# CHECK3: {{^                                         (╰─ )?error: unknown or ambiguous option}}