r285162 - Use printf instead of "echo -ne".

Rui Ueyama via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 25 20:38:48 PDT 2016


Author: ruiu
Date: Tue Oct 25 22:38:48 2016
New Revision: 285162

URL: http://llvm.org/viewvc/llvm-project?rev=285162&view=rev
Log:
Use printf instead of "echo -ne".

Not all echo commands support "-e".

Modified:
    cfe/trunk/test/Driver/response-file-extra-whitespace.c

Modified: cfe/trunk/test/Driver/response-file-extra-whitespace.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/response-file-extra-whitespace.c?rev=285162&r1=285161&r2=285162&view=diff
==============================================================================
--- cfe/trunk/test/Driver/response-file-extra-whitespace.c (original)
+++ cfe/trunk/test/Driver/response-file-extra-whitespace.c Tue Oct 25 22:38:48 2016
@@ -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;
 




More information about the cfe-commits mailing list