blob: 477a4c03a13b14530d1e16129c32bb74559ddc9a [file] [log] [blame] [edit]
# 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: test -d %t.existing
# Dump to a non-existing directory.
# RUN: rm -rf %t.nonexisting
# RUN: %lldb -o 'diagnostics dump -d %t.nonexisting'
# RUN: test -d %t.nonexisting