diff options
author | Nico Weber <nicolasweber@gmx.de> | 2017-02-24 21:01:43 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2017-02-24 21:01:43 +0000 |
commit | 54a60441c3afc531f986b68ad055900ce9193ae0 (patch) | |
tree | 27eeb8b141878bb0982c6998162fe2e2aba238ed | |
parent | 085bd22d14dffe8beb5725e6e8986985c57e84ae (diff) |
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
-rw-r--r-- | test/Format/inplace.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |