[clang-format] Fix test failure caused by "rm" on some buildbots.

The begining command "rm" will return 1 when there is not such file to
delete.

This patch is to remove it, as it's not needed for the test.

llvm-svn: 296453
This commit is contained in:
Haojian Wu 2017-02-28 09:03:07 +00:00
parent 8598b17076
commit 44038f176b
1 changed files with 0 additions and 1 deletions

View File

@ -1,6 +1,5 @@
// Regression test to check that clang-format does not leave behind temporary // Regression test to check that clang-format does not leave behind temporary
// files on Windows when doing in-place formatting. // files on Windows when doing in-place formatting.
// RUN: rm %T/inplace*
// RUN: cp %s %T/inplace.cpp // RUN: cp %s %T/inplace.cpp
// RUN: clang-format -style=LLVM -i %T/inplace.cpp // RUN: clang-format -style=LLVM -i %T/inplace.cpp
// RUN: ls %T > %T/files.txt // RUN: ls %T > %T/files.txt