bolt/deps/llvm-18.1.8/lldb/test/Shell/Diagnostics/TestDump.test

16 lines
456 B
Text
Raw Normal View History

2025-02-14 19:21:04 +01:00
# 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