Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit dbe33f7

Browse files
committed
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
1 parent 47c6c9f commit dbe33f7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

test/Format/inplace.cpp

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
// Regression test to check that clang-format does not leave behind temporary
22
// files on Windows when doing in-place formatting.
3-
// RUN: cp %s %T/inplace.cpp
4-
// RUN: clang-format -style=LLVM -i %T/inplace.cpp
5-
// RUN: ls %T > %T/files.txt
6-
// RUN: FileCheck -strict-whitespace -input-file=%T/files.txt %s
3+
// RUN: rm -rf %t.dir
4+
// RUN: mkdir %t.dir
5+
// RUN: cp %s %t.dir/inplace.cpp
6+
// RUN: clang-format -style=LLVM -i %t.dir/inplace.cpp
7+
// RUN: ls %t.dir > %t.dir/files.txt
8+
// RUN: FileCheck -strict-whitespace -input-file=%t.dir/files.txt %s
79

810
// CHECK-NOT: RF{{.*}}.TMP
911

0 commit comments

Comments
 (0)