~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/Other/close-stderr.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: sh -c 'opt --reject-this-option 2>&-; echo $?; opt -o /dev/null /dev/null 2>&-; echo $?;' \
 
2
; RUN:   | FileCheck %s
 
3
 
 
4
; CHECK: {{^1$}}
 
5
; On valgrind, we got 127 here.
 
6
; XFAIL: valgrind
 
7
 
 
8
; CHECK: {{^0$}}
 
9
; XFAIL: vg_leak
 
10
; REQUIRES: shell
 
11
 
 
12
; Test that the error handling when writing to stderr fails exits the
 
13
; program cleanly rather than aborting.