mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 10:55:58 +08:00
clang/test/Format/inplace.cpp: Avoid using wildcard.
MSYS' tools don't do globbing. llvm-svn: 296460
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user