From: Rui Ueyama Date: Wed, 26 Oct 2016 03:38:48 +0000 (+0000) Subject: Use printf instead of "echo -ne". X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a703dbcdce9b95fc4a6ae294b03a5a8707b16f4d;p=clang Use printf instead of "echo -ne". Not all echo commands support "-e". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285162 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/response-file-extra-whitespace.c b/test/Driver/response-file-extra-whitespace.c index 93b32bb505..77d811c58d 100644 --- a/test/Driver/response-file-extra-whitespace.c +++ b/test/Driver/response-file-extra-whitespace.c @@ -3,7 +3,7 @@ // some joined arguments (like "-x c") across lines to ensure that regular // clang (not clang-cl) can process it correctly. // -// RUN: echo -en "-x\r\nc\r\n-DTEST\r\n" > %t.0.txt +// RUN: printf " -x\r\nc\r\n-DTEST\r\n" > %t.0.txt // RUN: %clang -E @%t.0.txt %s -v 2>&1 | FileCheck %s -check-prefix=SHORT // SHORT: extern int it_works;