diff options
-rw-r--r-- | test/Feature/globalredefinition2.ll | 4 | ||||
-rw-r--r-- | test/Feature/globalredefinition3.ll | 4 | ||||
-rwxr-xr-x | test/Feature/packed_struct.ll | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/test/Feature/globalredefinition2.ll b/test/Feature/globalredefinition2.ll index 8ec6ca7535..9949e05282 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 7b753a9d9d..9906c06dcf 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 ecf129fa09..5bf609b777 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 }> |