[lldb/Test] Remove old binary created by TestConvenienceVariables
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 7 Jan 2020 21:21:47 +0000 (13:21 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 7 Jan 2020 21:21:47 +0000 (13:21 -0800)
On a dirty build directory the new mkdir fails because the file already
exists and is not a directory.

lldb/test/Shell/Driver/TestConvenienceVariables.test

index d9c8f75..14887fd 100644 (file)
@@ -1,4 +1,5 @@
 REQUIRES: python
+RUN: rm -rf %t
 RUN: mkdir -p %t
 RUN: %build %p/Inputs/hello.cpp -o %t/target.out
 RUN: %lldb %t/target.out -s %p/Inputs/convenience.in -o quit | FileCheck %s