Skip to content

Commit 30e14dc

Browse files
author
kazuho
committed
use $^X, or tests will fail on hosts using a different installation of perl from one installed to /usr/bin/perl)
git-svn-id: http://svn.coderepos.org/share/lang/perl/Server-Starter/trunk@35597 d0d07461-0603-4401-acd4-de1884942a52
1 parent d681367 commit 30e14dc

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

Changes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Revision history for Perl extension Server::Starter.
22

3+
0.05 Tue Oct 13 20:30:00 2009
4+
- use $^X in tests (or tests will fail on hosts using a different installation of perl from one installed to /usr/bin/perl)
5+
36
0.04 Fri Oct 09 19:25:00 2009
47
- signals received just after spawning worker process were dismissed (thanks to kazeburo for reporting and helping fix the problem)
58

lib/Server/Starter.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use Proc::Wait3;
1111

1212
use Exporter qw(import);
1313

14-
our $VERSION = '0.04';
14+
our $VERSION = '0.05';
1515
our @EXPORT_OK = qw(start_server server_ports);
1616

1717
sub start_server {

t/01-starter.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ test_tcp(
1313
my $port = shift;
1414
start_server(
1515
port => $port,
16-
exec => [ qw(t/01-starter-echod.pl) ],
16+
exec => [ $^X, qw(t/01-starter-echod.pl) ],
1717
);
1818
},
1919
client => sub {

t/02-startfail.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ test_tcp(
1111
my $port = shift;
1212
start_server(
1313
port => $port,
14-
exec => [ qw(t/02-startfail-server.pl) ],
14+
exec => [ $^X, qw(t/02-startfail-server.pl) ],
1515
);
1616
},
1717
client => sub {

0 commit comments

Comments
 (0)