# RUN: rm -rf %t
# RUN: mkdir -p %t
# RUN: %lldb -s %S/Inputs/TestCopyLogs.in -o 'logcommands -f %t/commands.log' -o 'diagnostics dump -d %t/diags'
# RUN: cat %t/diags/commands.log | FileCheck %s
# CHECK: Processing command: diagnostics dump
# RUN: rm -rf %t
# RUN: mkdir -p %t
# RUN: %lldb -s %S/Inputs/TestCopyLogs.in -o 'logcommands -f %t/commands.log' -o 'diagnostics dump -d %t/diags'
# RUN: cat %t/diags/commands.log | FileCheck %s
# CHECK: Processing command: diagnostics dump