diff options
author | Eric Wong <e@80x24.org> | 2019-05-14 03:32:03 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-05-14 04:00:10 +0000 |
commit | 2d51a2accd28465c915f91ab48c7e52a81d87a68 (patch) | |
tree | 06c8ca7d3d4cf015f5dc548438b859cd31cd29b9 /t/httpd-corner.t | |
parent | 1f4b022c38faba208528d0d5c993d569682b2a09 (diff) | |
download | public-inbox-2d51a2accd28465c915f91ab48c7e52a81d87a68.tar.gz |
We only need it for tests that chdir, and maybe for ENV{PATH} portability (dash seems fine, not sure about others). v2: revert change to solver_git.t for FreeBSD 11.2 and document
Diffstat (limited to 't/httpd-corner.t')
-rw-r--r-- | t/httpd-corner.t | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/httpd-corner.t b/t/httpd-corner.t index bfa39205..7c219943 100644 --- a/t/httpd-corner.t +++ b/t/httpd-corner.t @@ -15,7 +15,6 @@ foreach my $mod (qw(Plack::Util Plack::Builder use Digest::SHA qw(sha1_hex); use File::Temp qw/tempdir/; -use Cwd qw/getcwd/; use IO::Socket; use IO::Socket::UNIX; use Fcntl qw(:seek); @@ -28,7 +27,7 @@ ok(defined mkfifo($fifo, 0777), 'created FIFO'); my $err = "$tmpdir/stderr.log"; my $out = "$tmpdir/stdout.log"; my $httpd = 'blib/script/public-inbox-httpd'; -my $psgi = getcwd()."/t/httpd-corner.psgi"; +my $psgi = "./t/httpd-corner.psgi"; my %opts = ( LocalAddr => '127.0.0.1', ReuseAddr => 1, |