9 use Test::More tests => 8;
11 ok( binmode(STDERR), 'STDERR made binary' );
12 ok( binmode(STDERR, ":unix"), ' with unix discipline' );
13 ok( binmode(STDERR, ":raw"), ' raw' );
14 ok( binmode(STDERR, ":crlf"), ' and crlf' );
16 # If this one fails, we're in trouble. So we just bail out.
17 ok( binmode(STDOUT), 'STDOUT made binary' ) || exit(1);
18 ok( binmode(STDOUT, ":unix"), ' with unix discipline' );
19 ok( binmode(STDERR, ":raw"), ' raw' );
20 ok( binmode(STDERR, ":crlf"), ' and crlf' );