From: Reid Spencer Date: Sat, 14 Apr 2007 22:27:05 +0000 (+0000) Subject: Try some alternative syntax. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=90882454bd93b92777811849aa33dfb596ffa8f7;p=oota-llvm.git Try some alternative syntax. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36018 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Feature/globalredefinition2.ll b/test/Feature/globalredefinition2.ll index 8ec6ca75354..9949e052827 100644 --- a/test/Feature/globalredefinition2.ll +++ b/test/Feature/globalredefinition2.ll @@ -1,6 +1,6 @@ ; Test that redefinitions of globals produces an error in llvm-upgrade -; RUN: llvm-upgrade < %s -o /dev/null -f |& \ -; RUN: grep "Renaming global variable 'B' to.*linkage errors" +; RUN: llvm-upgrade < %s -o /dev/null -f |& grep \ +; RUN: "Renaming global variable 'B' to.*linkage errors" %B = global int 7 %B = global int 7 diff --git a/test/Feature/globalredefinition3.ll b/test/Feature/globalredefinition3.ll index 7b753a9d9d0..9906c06dcfe 100644 --- a/test/Feature/globalredefinition3.ll +++ b/test/Feature/globalredefinition3.ll @@ -1,5 +1,5 @@ -; RUN: ignore llvm-as < %s -o /dev/null -f |& \ -; RUN: grep "Redefinition of global variable named 'B'" +; RUN: ignore llvm-as < %s -o /dev/null -f |& grep \ +; RUN: "Redefinition of global variable named 'B'" ; END. @B = global i32 7 diff --git a/test/Feature/packed_struct.ll b/test/Feature/packed_struct.ll index ecf129fa09c..5bf609b7772 100755 --- a/test/Feature/packed_struct.ll +++ b/test/Feature/packed_struct.ll @@ -2,7 +2,7 @@ ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll ; RUN: diff %t1.ll %t2.ll ; RUN: not grep cast %t2.ll -; RUN: grep '\<{' %t2.ll +; RUN: grep {\<\{} %t2.ll ; END. %struct.anon = type <{ i8, i32, i32, i32 }>