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