#!./perl
BEGIN {
chdir 't' if -d 't';
}
}
use Config;
BEGIN {
print "1..0 # Skip: IO extension not compiled\n";
exit 0;
}
}
}
select(STDERR); $| = 1;
select(STDOUT); $| = 1;
print "1..6\n";
print "ok 1\n";
print $stdout "ok 2\n";
print $stderr "ok 3\n";
# Since some systems don't have echo, we use Perl.
print `$cmd`;
print `$cmd`;