]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/httpd-corner.psgi
t/*.t: disable nntpd/httpd worker processes in most tests
[public-inbox.git] / t / httpd-corner.psgi
index 5628f4abd5c92002abc48bd971a35f88454ab59a..bf38d1ff7995ddf1c8ee2447ccf1c956147f9419 100644 (file)
@@ -85,6 +85,9 @@ my $app = sub {
                        close $null;
                        [ 200, [ qw(Content-Type application/octet-stream) ]];
                });
+       } elsif ($path eq '/pid') {
+               $code = 200;
+               push @$body, $$;
        }
 
        [ $code, $h, $body ]