The "Hello" message is written on stderr so make sure it is duplicated to
stdout so the grep can match it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35925 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Feature/load_module.ll b/test/Feature/load_module.ll
index b229e26..942390e 100644
--- a/test/Feature/load_module.ll
+++ b/test/Feature/load_module.ll
@@ -1,6 +1,6 @@
; PR1318
; RUN: llvm-as < %s > %t.bc &&
; RUN: opt -load=%llvmlibsdir/LLVMHello%shlibext -hello \
-; RUN: -disable-output %t.bc | grep Hello
+; RUN: -disable-output %t.bc 2>&1 | grep Hello
@junk = global i32 0