summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2017-02-28 10:05:56 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2017-02-28 10:05:56 +0000
commitdbe33f716d5ca173686c9672795eeb7e3d688bb5 (patch)
tree9bee1a978262edf3fcfbeb99a28461de10e89ac7
parent47c6c9f9f086fcb3107bae8df68e78246e1820e4 (diff)
clang/test/Format/inplace.cpp: Avoid using wildcard.
MSYS' tools don't do globbing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296460 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Format/inplace.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/Format/inplace.cpp b/test/Format/inplace.cpp
index aad1fad10d..175a8b65d7 100644
--- a/test/Format/inplace.cpp
+++ b/test/Format/inplace.cpp
@@ -1,9 +1,11 @@
// Regression test to check that clang-format does not leave behind temporary
// files on Windows when doing in-place formatting.
-// RUN: cp %s %T/inplace.cpp
-// RUN: clang-format -style=LLVM -i %T/inplace.cpp
-// RUN: ls %T > %T/files.txt
-// RUN: FileCheck -strict-whitespace -input-file=%T/files.txt %s
+// RUN: rm -rf %t.dir
+// RUN: mkdir %t.dir
+// RUN: cp %s %t.dir/inplace.cpp
+// RUN: clang-format -style=LLVM -i %t.dir/inplace.cpp
+// RUN: ls %t.dir > %t.dir/files.txt
+// RUN: FileCheck -strict-whitespace -input-file=%t.dir/files.txt %s
// CHECK-NOT: RF{{.*}}.TMP