Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion t/pod/headwithmarkup.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ my $blib = $ENV{PERL_CORE} ? '-I../../lib' : '-Mblib';
my $pl = $0;
$pl =~ s{t$}{pl};

my $out = `$^X $blib $pl`;
my $out = `"$^X" $blib $pl`;
$out =~ s{\s+}{ }gs;
$out =~ s{^\s+|\s+$}{}gs;
# we want to make sure that the marked-up text is not lost
Expand Down
2 changes: 1 addition & 1 deletion t/pod/pod2usage2.t
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ SKIP: {
my $perldoc = $^X . 'doc';
skip "Missing perldoc binary", 2 unless -x $perldoc;

my $out = qx[$perldoc 2>&1] || '';
my $out = qx["$perldoc" 2>&1] || '';
skip "Need perl-doc package", 2 if $out =~ qr[You need to install the perl-doc package to use this program];

($exit, $text) = getoutput( sub {
Expand Down
4 changes: 2 additions & 2 deletions t/pod/selectheaders.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ my $blib = $ENV{PERL_CORE} ? '-I../../lib' : '-Mblib';
my $pl = $0;
$pl =~ s{t$}{pl};

my $out = `$^X $blib $pl Foo`;
my $out = `"$^X" $blib $pl Foo`;
$out =~ s{\s+}{ }gs;
$out =~ s{^\s+|\s+$}{}gs;
is($out, 'Foo: This is foo', 'selection of Foo section');

$out = `$^X $blib $pl Bar`;
$out = `"$^X" $blib $pl Bar`;
$out =~ s{\s+}{ }gs;
$out =~ s{^\s+|\s+$}{}gs;
is($out, 'Bar: This is bar.', 'selection of Bar section');
Expand Down
4 changes: 2 additions & 2 deletions t/pod/selectsections.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ my $blib = $ENV{PERL_CORE} ? '-I../../lib' : '-Mblib';
my $pl = $0;
$pl =~ s{t$}{pl};

my $out = `$^X $blib $pl 0`;
my $out = `"$^X" $blib $pl 0`;
$out =~ s{\s+}{ }gs;
$out =~ s{^\s+|\s+$}{}gs;
is($out, 'Name: trypodi - pod sections usage test Actions: Para for actions. help: Help text.', 'selection of specific sections');

$out = `$^X $blib $pl 1`;
$out = `"$^X" $blib $pl 1`;
$out =~ s{\s+}{ }gs;
$out =~ s{^\s+|\s+$}{}gs;
is($out, 'Caveats: Description caveat text. Caveats: Options caveat text. Caveats: Environment caveat text.', 'selection of caveats sections');
Expand Down