1*7ba28644SJonas Devlieghere# UNSUPPORTED: system-windows
2*7ba28644SJonas Devlieghere# This ensures that the reproducer properly cleans up after itself.
3*7ba28644SJonas Devlieghere
4*7ba28644SJonas Devlieghere# Build the inferior.
5*7ba28644SJonas Devlieghere# RUN: mkdir -p %t
6*7ba28644SJonas Devlieghere# RUN: rm -rf %t.repro
7*7ba28644SJonas Devlieghere# RUN: %clang_host %S/Inputs/simple.c -g -o %t/reproducer.out
8*7ba28644SJonas Devlieghere
9*7ba28644SJonas Devlieghere# Capture but don't generate the reproducer.
10*7ba28644SJonas Devlieghere# RUN: %lldb -x -b -s %S/Inputs/Discard.in --capture --capture-path %t.repro %t/reproducer.out
11*7ba28644SJonas Devlieghere
12*7ba28644SJonas Devlieghere# Make sure the directory doesn't exist.
13*7ba28644SJonas Devlieghere# RUN: mkdir %t.repro
14