diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-10-24 11:39:15 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-10-24 11:39:15 +0000 |
commit | f933cb3b75b1af4904af20bfc3dc299008f75850 (patch) | |
tree | d16a47a3dcd2862bd043b409154535f031bca543 /tests/httpserver.pl | |
parent | c6822f5a7f4b188dd09f9c0a582d8e76c63be7c3 (diff) | |
download | curl-f933cb3b75b1af4904af20bfc3dc299008f75850.tar.gz |
now reports the CORRECT pid on demand
Diffstat (limited to 'tests/httpserver.pl')
-rwxr-xr-x | tests/httpserver.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/httpserver.pl b/tests/httpserver.pl index 0c9a42c2c..9b409a9ed 100755 --- a/tests/httpserver.pl +++ b/tests/httpserver.pl @@ -39,6 +39,8 @@ open(PID, ">.http.pid"); print PID $$; close(PID); +my $PID=$$; + my $waitedpid = 0; my $paddr; @@ -119,7 +121,7 @@ for ( $waitedpid = 0; elsif($path =~ /verifiedserver/) { # this is a hard-coded query-string for the test script # to verify that this is the server actually running! - print "HTTP/1.1 999 WE ROOLZ: $$\r\n"; + print "HTTP/1.1 999 WE ROOLZ: $PID\r\n"; exit; } else { |