From a4516a5fea62c1b6e2123b9c8b1627905e790963 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 29 Aug 2013 03:02:39 +0000 Subject: [tests] Use 'printf' instead of 'echo -e', which is not part of BSD echo. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189562 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Format/style-on-command-line.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Format') diff --git a/test/Format/style-on-command-line.cpp b/test/Format/style-on-command-line.cpp index 679236f7a4..9b91259c65 100644 --- a/test/Format/style-on-command-line.cpp +++ b/test/Format/style-on-command-line.cpp @@ -5,7 +5,7 @@ // RUN: clang-format -style="{lsjd}" %t.cpp 2>&1 | FileCheck -strict-whitespace -check-prefix=CHECK4 %s // RUN: [ ! -e %T/.clang-format ] || rm %T/.clang-format // RUN: clang-format -style=file %t.cpp 2>&1 | FileCheck -strict-whitespace -check-prefix=CHECK5 %s -// RUN: echo -e "BasedOnStyle: google\nIndentWidth: 5" > %T/.clang-format +// RUN: printf "BasedOnStyle: google\nIndentWidth: 5\n" > %T/.clang-format // RUN: clang-format -style=file %t.cpp 2>&1 | FileCheck -strict-whitespace -check-prefix=CHECK6 %s void f() { // CHECK1: {{^ int\* i;$}} -- cgit v1.2.1