17ba28644SJonas Devlieghere# This ensures that the reproducer properly cleans up after itself. 27ba28644SJonas Devlieghere 37ba28644SJonas Devlieghere# Build the inferior. 47ba28644SJonas Devlieghere# RUN: mkdir -p %t 57ba28644SJonas Devlieghere# RUN: rm -rf %t.repro 67ba28644SJonas Devlieghere# RUN: %clang_host %S/Inputs/simple.c -g -o %t/reproducer.out 77ba28644SJonas Devlieghere 87ba28644SJonas Devlieghere# Capture but don't generate the reproducer. 9*61d5b0e6SJonas Devlieghere# RUN: not %lldb -x -b -s %S/Inputs/Discard.in --capture --capture-path %t.repro %t/reproducer.out 107ba28644SJonas Devlieghere 117ba28644SJonas Devlieghere# Make sure the directory doesn't exist. 127ba28644SJonas Devlieghere# RUN: mkdir %t.repro 13