From 54a60441c3afc531f986b68ad055900ce9193ae0 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 24 Feb 2017 21:01:43 +0000 Subject: [PATCH] Try to unbreak tests after r296166 Looks like %T isn't per-test but per-test-directory, and the rm was deleting temp files written by other tests in test/Format. Limit the rm's scope a bit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296171 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Format/inplace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Format/inplace.cpp b/test/Format/inplace.cpp index 1a00eb44b8..cc218f3118 100644 --- a/test/Format/inplace.cpp +++ b/test/Format/inplace.cpp @@ -1,6 +1,6 @@ // Regression test to check that clang-format does not leave behind temporary // files on Windows when doing in-place formatting. -// RUN: rm %T/* +// RUN: rm %T/inplace* // RUN: cp %s %T/inplace.cpp // RUN: clang-format -style=LLVM -i %T/inplace.cpp // RUN: ls %T > %T/files.txt -- 2.40.0