Skip to content

Commit 354ad55

Browse files
Revert "[Clang] Make rewrite-includes-bom.c work with internal shell"
This reverts commit 8d6470f. This was causing a failure on the llvm-clang-aarch64-darwin builder when using the external shell.
1 parent a4f89a7 commit 354ad55

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
// RUN: cat %S/Inputs/rewrite-includes-bom.h | od -t x1 | grep -q 'ef bb bf'
1+
// RUN: grep -q $'^\xEF\xBB\xBF' %S/Inputs/rewrite-includes-bom.h
22
// RUN: %clang_cc1 -E -frewrite-includes -I %S/Inputs %s -o %t.c
3-
// RUN: cat %t.c | od -t x1 | not grep -q 'ef bb bf'
3+
// RUN: ! grep -q $'\xEF\xBB\xBF' %t.c
44
// RUN: %clang_cc1 -fsyntax-only -verify %t.c
55
// expected-no-diagnostics
6+
// REQUIRES: shell
67

78
#include "rewrite-includes-bom.h"

0 commit comments

Comments
 (0)