#!./perl
BEGIN {
chdir 't' if -d 't';
}
use Config;
my $test = 1;
print "1..26\n";
print "ok 1\n";
select(STDERR); $| = 1;
select(STDOUT); $| = 1;
print STDOUT "ok 2\n";
print STDERR "ok 3\n";
# Since some systems don't have echo, we use Perl.
print `$cmd`;
print `$cmd`;
# KNOWN BUG system() does not honor STDOUT redirections on VMS.
print "not ok $_ # TODO system() not honoring STDOUT redirect on VMS\n"
for 6..7;
}
else {
}
else {
}
}
print F "ok 9\n";
print F "ok 10\n";
print F "ok 11\n";
print F "ok 12\n";
} else {
print F "ok 12\n";
}
# To get STDOUT back.
SKIP: {
close F;
close F;
close F;
close F;
close F;
print G "ggg\n";
print F "fff\n";
close G; # flush first
close F; # flush second
{
my $line;
}
close G;
}