blob: 1c61ba89f168c0dbea0246f63a877add016c31eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!./perl
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
}
require './test.pl';
use File::Spec::Functions;
# Test '-x'
print runperl( switches => ['-x'],
progfile => catfile(curdir(), 'run', 'switchx.aux') );
# Test '-xdir'
print runperl( switches => ['-x' . catfile(curdir(), 'run')],
progfile => catfile(curdir(), 'run', 'switchx2.aux'),
args => [ 3 ] );
# EOF
|