Correct test. use "not grep" instead of "grep -v"
authorChris Lattner <sabre@nondot.org>
Thu, 27 May 2004 07:32:25 +0000 (07:32 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 27 May 2004 07:32:25 +0000 (07:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13824 91177308-0d34-0410-b5e6-96231b3b80d8

test/Linker/2003-01-30-LinkerTypeRename.ll

index e53c239d2e6f0af063ef066c88990e72b662ae9b..f96805427f513bf882f1a3bd8b25586a558200cc 100644 (file)
@@ -1,9 +1,9 @@
 ; This fails because the linker renames the non-opaque type not the opaque 
 ; one...
 
-; RUN: echo "%Ty = type opaque" | llvm-as > %t.1.bc
+; RUN: echo "%Ty = type opaque %GV = external global %Ty*" | llvm-as > %t.1.bc
 ; RUN: llvm-as < %s > %t.2.bc
-; RUN: llvm-link %t.[12].bc | llvm-dis | grep '%Ty ' | grep -v opaque
+; RUN: llvm-link %t.[12].bc | llvm-dis | grep '%Ty ' | not grep opaque
 
 %Ty = type int