13 lines
216 B
Text
Executable file
13 lines
216 B
Text
Executable file
# -*- perl -*-
|
|
use strict;
|
|
use warnings;
|
|
use tests::tests;
|
|
check_expected ([<<'EOF', <<'EOF']);
|
|
(write-bad-fd) begin
|
|
(write-bad-fd) end
|
|
write-bad-fd: exit(0)
|
|
EOF
|
|
(write-bad-fd) begin
|
|
write-bad-fd: exit(-1)
|
|
EOF
|
|
pass;
|