From 44038f176b6698dbd39a2b43a8da270af7852820 Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Tue, 28 Feb 2017 09:03:07 +0000 Subject: [PATCH] [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 --- clang/test/Format/inplace.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/clang/test/Format/inplace.cpp b/clang/test/Format/inplace.cpp index cc218f31187a..aad1fad10d38 100644 --- a/clang/test/Format/inplace.cpp +++ b/clang/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