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.

llvm-svn: 296171
This commit is contained in:
Nico Weber 2017-02-24 21:01:43 +00:00
parent 93772fcfc7
commit 0760360dcc
1 changed files with 1 additions and 1 deletions

View File

@ -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