From: Alp Toker Date: Fri, 27 Jun 2014 03:11:38 +0000 (+0000) Subject: Account for differences in grep implementations X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=819fcd9bbd44eeef7c122bc372b3b51c4df82b32;p=clang Account for differences in grep implementations git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211856 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Frontend/ir-support.c b/test/Frontend/ir-support.c index f6078e56b9..f69161e870 100644 --- a/test/Frontend/ir-support.c +++ b/test/Frontend/ir-support.c @@ -4,16 +4,16 @@ // We strip differing '.file' directives before comparing. // Reference output: -// RUN: %clang_cc1 -S -o - %s | grep -v '\t\.file' > %t.s +// RUN: %clang_cc1 -S -o - %s | grep -v '\.file' > %t.s // LLVM bitcode: // RUN: %clang_cc1 -emit-llvm-bc -o %t.bc %s -// RUN: %clang_cc1 -S -o - %t.bc | grep -v '\t\.file' > %t.bc.s +// RUN: %clang_cc1 -S -o - %t.bc | grep -v '\.file' > %t.bc.s // RUN: diff %t.s %t.bc.s // LLVM IR source code: // RUN: %clang_cc1 -emit-llvm -o %t.ll %s -// RUN: %clang_cc1 -S -o - %t.ll | grep -v '\t\.file' > %t.ll.s +// RUN: %clang_cc1 -S -o - %t.ll | grep -v '\.file' > %t.ll.s // RUN: diff %t.s %t.ll.s int f() { return 0; }