diff options
| author | Alp Toker <alp@nuanti.com> | 2013-11-27 23:16:06 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2013-11-27 23:16:06 +0000 |
| commit | d57e83644750b9b32a3d70092d7a6e04714cb82b (patch) | |
| tree | 9be9ca7ac352c49fdf0a23910bcf73013ee2b356 | |
| parent | 91e474fc916d0a197253da649961a9ab61f93f11 (diff) | |
| download | bcm5719-llvm-d57e83644750b9b32a3d70092d7a6e04714cb82b.tar.gz bcm5719-llvm-d57e83644750b9b32a3d70092d7a6e04714cb82b.zip | |
Attempt to make test from r195886 portable with different shells
Windows and Hexagon complained. It's not clear which command is failing, so
will back out the changes if this doesn't do the trick.
llvm-svn: 195889
| -rw-r--r-- | clang/test/Frontend/rewrite-includes-bom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Frontend/rewrite-includes-bom.c b/clang/test/Frontend/rewrite-includes-bom.c index 276c994fb0e..9a62f4594af 100644 --- a/clang/test/Frontend/rewrite-includes-bom.c +++ b/clang/test/Frontend/rewrite-includes-bom.c @@ -1,5 +1,5 @@ -// 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' +// 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" // expected-no-diagnostics #include "rewrite-includes-bom.h" |

