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 ; CHECK: {{^1$}}
      4 ; CHECK: {{^0$}}
      5 ; XFAIL: vg_leak
      6 ; REQUIRES: shell
      7 
      8 ; Test that the error handling when writing to stderr fails exits the
      9 ; program cleanly rather than aborting.
     10