aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-06-10 16:04:47 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-06-10 16:04:47 +0000
commit34db47f2d86f30ad253ee0f68438ee07542653ec (patch)
tree8fe48a67d78dc7b670631f6784cc482b6a40e454 /test/Linker
parentfa614fca79699cfa4ed0a2c3ddef58a008a0b1d0 (diff)
downloadexternal_llvm-34db47f2d86f30ad253ee0f68438ee07542653ec.zip
external_llvm-34db47f2d86f30ad253ee0f68438ee07542653ec.tar.gz
external_llvm-34db47f2d86f30ad253ee0f68438ee07542653ec.tar.bz2
Fix some escaping and quoting in RUN lines, mainly involving { and <. In two
cases quoting of <{ didn't work out, so I changed the grep to check for }> instead. This fixes 7 testcases that were not properly running before. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52182 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker')
-rw-r--r--test/Linker/2003-10-21-ConflictingTypesTolerance.ll2
-rw-r--r--test/Linker/2004-12-03-DisagreeingType.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Linker/2003-10-21-ConflictingTypesTolerance.ll b/test/Linker/2003-10-21-ConflictingTypesTolerance.ll
index b3e64da..f61d886 100644
--- a/test/Linker/2003-10-21-ConflictingTypesTolerance.ll
+++ b/test/Linker/2003-10-21-ConflictingTypesTolerance.ll
@@ -1,6 +1,6 @@
; RUN: llvm-as < %s > %t.out1.bc
; RUN: echo { %S = type \[8 x i32\] external global %S } | llvm-as > %t.out2.bc
-; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | grep %S | grep \{
+; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | grep %S | grep {\\{}
%S = type { i32 }
diff --git a/test/Linker/2004-12-03-DisagreeingType.ll b/test/Linker/2004-12-03-DisagreeingType.ll
index 63d851b1..7378fdd 100644
--- a/test/Linker/2004-12-03-DisagreeingType.ll
+++ b/test/Linker/2004-12-03-DisagreeingType.ll
@@ -1,7 +1,7 @@
; RUN: echo {@G = weak global \{\{\{\{double\}\}\}\} zeroinitializer } | \
; RUN: llvm-as > %t.out2.bc
; RUN: llvm-as < %s > %t.out1.bc
-; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | not grep {\}}
+; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | not grep {\\}}
; When linked, the global above should be eliminated, being merged with the
; global below.