about summary refs log tree commit homepage
path: root/t/httpd-corner.psgi
diff options
context:
space:
mode:
Diffstat (limited to 't/httpd-corner.psgi')
-rw-r--r--t/httpd-corner.psgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/httpd-corner.psgi b/t/httpd-corner.psgi
index 5628f4ab..bf38d1ff 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, $$;
         }
 
         [ $code, $h, $body ]