X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fhttpd-corner.psgi;h=18e556be0e39c29c5ca20f64ddbb4953da8052b4;hb=a65ebdc3a1f064bab0cddf64b34caad49f1c4c9c;hp=5628f4abd5c92002abc48bd971a35f88454ab59a;hpb=9bd675d33ad1e49bd2ebe12a1d216216e61380de;p=public-inbox.git diff --git a/t/httpd-corner.psgi b/t/httpd-corner.psgi index 5628f4ab..18e556be 100644 --- a/t/httpd-corner.psgi +++ b/t/httpd-corner.psgi @@ -85,6 +85,9 @@ my $app = sub { close $null; [ 200, [ qw(Content-Type application/octet-stream) ]]; }); + } elsif ($path eq '/pid') { + $code = 200; + push @$body, "$$\n"; } [ $code, $h, $body ]