r195891 - One last portability fix attempt for r195886

Alp Toker alp at nuanti.com
Wed Nov 27 15:29:37 PST 2013


Author: alp
Date: Wed Nov 27 17:29:37 2013
New Revision: 195891

URL: http://llvm.org/viewvc/llvm-project?rev=195891&view=rev
Log:
One last portability fix attempt for r195886

Modified:
    cfe/trunk/test/Frontend/rewrite-includes-bom.c

Modified: cfe/trunk/test/Frontend/rewrite-includes-bom.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/rewrite-includes-bom.c?rev=195891&r1=195890&r2=195891&view=diff
==============================================================================
--- cfe/trunk/test/Frontend/rewrite-includes-bom.c (original)
+++ cfe/trunk/test/Frontend/rewrite-includes-bom.c Wed Nov 27 17:29:37 2013
@@ -1,5 +1,6 @@
-// RUN: grep -E "^\\xEF\\xBB\\xBF" %S/Inputs/rewrite-includes-bom.h
-// RUN: %clang_cc1 -E -frewrite-includes -I %S/Inputs %s -o - | %clang_cc1 -fsyntax-only -verify -x c - | not grep -E "\\xEF\\xBB\\xBF"
+// RUN: grep $'^\xEF\xBB\xBF' %S/Inputs/rewrite-includes-bom.h
+// RUN: %clang_cc1 -E -frewrite-includes -I %S/Inputs %s -o - | %clang_cc1 -fsyntax-only -verify -x c - | not grep $'\xEF\xBB\xBF'
 // expected-no-diagnostics
+// REQUIRES: shell
 
 #include "rewrite-includes-bom.h"





More information about the cfe-commits mailing list