Skip to content

Commit 03c1963

Browse files
committed
also make sure that 'patchperl' has executable permission.
1 parent c366461 commit 03c1963

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

t/command-install-patchperl.t

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ describe "App::perlbrew->install_patchperl" => sub {
2424
my $app = App::perlbrew->new("install-patchperl", "-q");
2525
$app->run();
2626

27-
ok -f file($perlbrew_root, "bin", "patchperl");
27+
my $patchperl = file($perlbrew_root, "bin", "patchperl")->absolute;
28+
ok -f $patchperl, "patchperl is produced. $patchperl";
29+
ok -x $patchperl, "patchperl should be an executable.";
2830
};
2931
};
3032

0 commit comments

Comments
 (0)