summaryrefslogtreecommitdiffstats
path: root/clang/test/Format
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
commitd6fc6730ce47c287cdd957aceadbc30e37593948 (patch)
tree2d1ae30e9cad2cf353dcb2f32086f7ab36db9a3e /clang/test/Format
parent85d4d5b4935e82b14c42ef3f77ca903a07c6a8de (diff)
downloadbcm5719-llvm-d6fc6730ce47c287cdd957aceadbc30e37593948.tar.gz
bcm5719-llvm-d6fc6730ce47c287cdd957aceadbc30e37593948.zip
clang/test/Format/inplace.cpp: Avoid using wildcard.
MSYS' tools don't do globbing. llvm-svn: 296460
Diffstat (limited to 'clang/test/Format')
-rw-r--r--clang/test/Format/inplace.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/clang/test/Format/inplace.cpp b/clang/test/Format/inplace.cpp
index aad1fad10d3..175a8b65d7f 100644
--- a/clang/test/Format/inplace.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud