From: Haojian Wu Date: Tue, 28 Feb 2017 09:03:07 +0000 (+0000) Subject: [clang-format] Fix test failure caused by "rm" on some buildbots. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c558d474c5970f2ad6c20dba3ff3fc8558e16f8;p=clang [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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296453 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Format/inplace.cpp b/test/Format/inplace.cpp index cc218f3118..aad1fad10d 100644 --- a/test/Format/inplace.cpp +++ b/test/Format/inplace.cpp @@ -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