This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make (l)stat respect get-magic on globs and globrefs
[perl5.git] / t / run / switchx.t
CommitLineData
77818208
MS
1#!./perl
2
3BEGIN {
4 chdir 't' if -d 't';
5 @INC = '../lib';
6}
7
8require './test.pl';
9
94e93a7a
JH
10# Test '-x'
11print runperl( switches => ['-x'],
519ecd2c 12 progfile => 'run/switchx.aux' );
94e93a7a
JH
13
14# Test '-xdir'
519ecd2c
NC
15print runperl( switches => ['-x./run'],
16 progfile => 'run/switchx2.aux',
94e93a7a
JH
17 args => [ 3 ] );
18
19# EOF