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 / switcha.t
CommitLineData
d11311f7
RGS
1#!./perl -na
2
3BEGIN {
a21c9494
CK
4 chdir 't' if -d 't';
5 @INC = '../lib';
6 require './test.pl';
d11311f7 7 *ARGV = *DATA;
a21c9494 8 plan(tests => 2);
d11311f7 9}
a21c9494
CK
10chomp;
11is($F[1], 'ok', "testing split of string '$_'");
d11311f7
RGS
12
13__DATA__
14not ok
15not ok 3