Home | History | Annotate | Download | only in Other
      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 ; opt will fail to open /dev/null on native win32.
     13 ; XFAIL: win32
     14 
     15 ; Test that the error handling when writing to stderr fails exits the
     16 ; program cleanly rather than aborting.
     17