]> granicus.if.org Git - clang/commitdiff
[clang-format] Fix test failure caused by "rm" on some buildbots.
authorHaojian Wu <hokein@google.com>
Tue, 28 Feb 2017 09:03:07 +0000 (09:03 +0000)
committerHaojian Wu <hokein@google.com>
Tue, 28 Feb 2017 09:03:07 +0000 (09:03 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296453 91177308-0d34-0410-b5e6-96231b3b80d8

test/Format/inplace.cpp

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