Make exit-code test use same mechanism as existing one.

The other version doesn't properly work with our internal test runner,
which sets pipefail.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233188 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Jasper 2015-03-25 14:35:40 +00:00
parent d033c4b576
commit a427f12c6d

View File

@ -1,4 +1,5 @@
; RUN: lli -jit-kind=orc-lazy %s; [ $? -eq 30 ]
; RUN: sh -c 'lli -jit-kind=orc-lazy %s; echo $?' | FileCheck %s
; CHECK: {{^30$}}
define i32 @baz() {
entry:
ret i32 2