aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/Diagnostics/TestDump.test
blob: 2adde6b86d35a758d980234dff77666a73e6283c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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