summaryrefslogtreecommitdiff
path: root/test/Format
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-08-29 03:02:39 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-08-29 03:02:39 +0000
commita4516a5fea62c1b6e2123b9c8b1627905e790963 (patch)
treefc69f591bbc099f862dc3062e797575a47fde59f /test/Format
parent347124d34566c4fef5a1673a30638e23304ba865 (diff)
[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
Diffstat (limited to 'test/Format')
-rw-r--r--test/Format/style-on-command-line.cpp2
1 files changed, 1 insertions, 1 deletions
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;$}}