Simplify this test and correct redirection for Tcl exec.
authorReid Spencer <rspencer@reidspencer.com>
Sat, 14 Apr 2007 17:49:06 +0000 (17:49 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 14 Apr 2007 17:49:06 +0000 (17:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36001 91177308-0d34-0410-b5e6-96231b3b80d8

test/Feature/load_module.ll

index 455614d721845899c46850ea07a9d280c051c841..356eceb285eae1aef5ca13094ab0726bd673ce28 100644 (file)
@@ -1,7 +1,6 @@
 ; PR1318
-; RUN: llvm-as < %s > %t.bc &&
-; RUN: opt -load=%llvmlibsdir/LLVMHello%shlibext -hello \
-; RUN:   -disable-output %t.bc 2>&1 | grep Hello
+; RUN: llvm-as < %s | opt -load=%llvmlibsdir/LLVMHello%shlibext -hello \
+; RUN:   -disable-output - |& grep Hello
 
 @junk = global i32 0