Files
clang-p2996/lldb/test/Shell/Diagnostics/TestDump.test
Jonas Devlieghere 4b21ecf10c [lldb] Update TestDump.test for gnuwin32's 'file' command output
Remove the colon from the CHECK line for the output of the file command.
On macOS and Linux, the file command uses a colon as the separator
between the path and the file type, but gnuwin32's file command uses a
semicolon.
2022-11-02 09:33:25 -07:00

16 lines
456 B
Plaintext

# Check that the diagnostics dump command uses the correct directory and
# creates one if needed.
# Dump to an existing directory.
# RUN: rm -rf %t.existing
# RUN: mkdir -p %t.existing
# RUN: %lldb -o 'diagnostics dump -d %t.existing'
# RUN: file %t.existing | FileCheck %s
# Dump to a non-existing directory.
# RUN: rm -rf %t.nonexisting
# RUN: %lldb -o 'diagnostics dump -d %t.nonexisting'
# RUN: file %t.nonexisting | FileCheck %s
# CHECK: directory