This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
t/loc_tools.pl: Consider thread 0 always locale-safe
[perl5.git] / t / run / noswitch.t
CommitLineData
d11311f7
RGS
1#!./perl
2
3BEGIN {
0cd39adf
CK
4 chdir 't' if -d 't';
5 @INC = '../lib';
6 require './test.pl';
d11311f7 7 *ARGV = *DATA;
0cd39adf 8 plan(tests => 3);
d11311f7 9}
0cd39adf
CK
10
11pass("first test");
12is( scalar <>, "ok 2\n", "read from aliased DATA filehandle");
13pass("last test");
d11311f7
RGS
14
15__DATA__
0cd39adf 16ok 2