Skip to content

Commit

Permalink
Assume tests are run from top level dir
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed May 22, 2020
1 parent c8de4e8 commit 05524a8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions t/local/LocalServer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ BEGIN {
HTTPS_PROXY https_proxy HTTP_PROXY_ALL http_proxy_all
)};
}
use LWP::Simple;
use FindBin;
use File::Spec;
use File::Temp;
use URI::URL qw();

use Carp qw(carp croak);
use File::Temp ();
use LWP::Simple qw( get );
use Path::Tiny qw( path );
use URI::URL qw();

=head1 SYNOPSIS
Expand Down Expand Up @@ -101,7 +101,7 @@ sub spawn {
$self->{logfile} = $logfile;
my $web_page = delete $args{file} || "";

my $server_file = File::Spec->catfile( $FindBin::Bin,'log-server' );
my $server_file = path('t/local/log-server')->absolute;
my @opts;
push @opts, "-e" => qq{"} . delete($args{ eval }) . qq{"}
if $args{ eval };
Expand Down

0 comments on commit 05524a8

Please sign in to comment.