perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Hayward-Warburton <hay-w...@corefoodanddrink.co.uk>
Subject mod_perl test report
Date Fri, 31 Mar 2000 22:03:22 GMT
mod_perl VERSION: 1.22
Apache version: 1.3.12
Apache MMN: 19990320

make[1]: Entering directory `/usr/src/mod_perl-1.22'
(cd ../apache_1.3.12 && make)
make[2]: Entering directory `/usr/src/apache_1.3.12'
===> src
make[3]: Entering directory `/usr/src/apache_1.3.12'
make[4]: Entering directory `/usr/src/apache_1.3.12/src'
===> src/regex
make[5]: Nothing to be done for `all'.
<=== src/regex
===> src/os/unix
make[5]: Nothing to be done for `all'.
<=== src/os/unix
===> src/ap
make[5]: Nothing to be done for `all'.
<=== src/ap
===> src/main
make[5]: Nothing to be done for `all'.
<=== src/main
===> src/lib
===> src/lib/expat-lite
make[6]: Nothing to be done for `all'.
<=== src/lib/expat-lite
<=== src/lib
===> src/modules
===> src/modules/experimental
make[6]: Nothing to be done for `all'.
<=== src/modules/experimental
===> src/modules/standard
make[6]: Nothing to be done for `all'.
<=== src/modules/standard
===> src/modules/extra
make[6]: Nothing to be done for `all'.
<=== src/modules/extra
===> src/modules/proxy
make[6]: Nothing to be done for `all'.
<=== src/modules/proxy
===> src/modules/example
make[6]: Nothing to be done for `all'.
<=== src/modules/example
===> src/modules/ssl
make[6]: Nothing to be done for `all'.
<=== src/modules/ssl
===> src/modules/perl
make[6]: Nothing to be done for `all'.
<=== src/modules/perl
<=== src/modules
cc -c  -I./os/unix -I./include   -DLINUX=2 -DMOD_SSL=206102 -DMOD_PERL -DUSE_HSREGEX -DEAPI
-DUSE_EXPAT -I./lib/expat-lite -O2 `./apaci` modules.c
cc -c  -I./os/unix -I./include   -DLINUX=2 -DMOD_SSL=206102 -DMOD_PERL -DUSE_HSREGEX -DEAPI
-DUSE_EXPAT -I./lib/expat-lite -O2 `./apaci` buildmark.c
cc  -DLINUX=2 -DMOD_SSL=206102 -DMOD_PERL -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I./lib/expat-lite
-O2 `./apaci`   -rdynamic \
      -o httpd buildmark.o modules.o modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a
ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a  -lm -lcrypt -lndbm -ldb -ldl
make[4]: Leaving directory `/usr/src/apache_1.3.12/src'
make[3]: Leaving directory `/usr/src/apache_1.3.12'
make[3]: Entering directory `/usr/src/apache_1.3.12'
===> src/support
make[4]: Entering directory `/usr/src/apache_1.3.12/src/support'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/apache_1.3.12/src/support'
make[4]: Entering directory `/usr/src/apache_1.3.12/src/support'
make[4]: `suexec' is up to date.
make[4]: Leaving directory `/usr/src/apache_1.3.12/src/support'
<=== src/support
make[3]: Leaving directory `/usr/src/apache_1.3.12'
make[3]: Entering directory `/usr/src/apache_1.3.12'
make[3]: Leaving directory `/usr/src/apache_1.3.12'
<=== src
make[2]: Leaving directory `/usr/src/apache_1.3.12'
make[2]: Entering directory `/usr/src/mod_perl-1.22/Apache'
make[2]: Leaving directory `/usr/src/mod_perl-1.22/Apache'
make[2]: Entering directory `/usr/src/mod_perl-1.22/Connection'
make[2]: Leaving directory `/usr/src/mod_perl-1.22/Connection'
make[2]: Entering directory `/usr/src/mod_perl-1.22/Constants'
make[2]: Leaving directory `/usr/src/mod_perl-1.22/Constants'
make[2]: Entering directory `/usr/src/mod_perl-1.22/File'
make[2]: Leaving directory `/usr/src/mod_perl-1.22/File'
make[2]: Entering directory `/usr/src/mod_perl-1.22/Leak'
make[2]: Leaving directory `/usr/src/mod_perl-1.22/Leak'
make[2]: Entering directory `/usr/src/mod_perl-1.22/Log'
make[2]: Leaving directory `/usr/src/mod_perl-1.22/Log'
make[2]: Entering directory `/usr/src/mod_perl-1.22/ModuleConfig'
make[2]: Leaving directory `/usr/src/mod_perl-1.22/ModuleConfig'
make[2]: Entering directory `/usr/src/mod_perl-1.22/PerlRunXS'
make[2]: Leaving directory `/usr/src/mod_perl-1.22/PerlRunXS'
make[2]: Entering directory `/usr/src/mod_perl-1.22/Server'
make[2]: Leaving directory `/usr/src/mod_perl-1.22/Server'
make[2]: Entering directory `/usr/src/mod_perl-1.22/Symbol'
make[2]: Leaving directory `/usr/src/mod_perl-1.22/Symbol'
make[2]: Entering directory `/usr/src/mod_perl-1.22/Table'
make[2]: Leaving directory `/usr/src/mod_perl-1.22/Table'
make[2]: Entering directory `/usr/src/mod_perl-1.22/URI'
make[2]: Leaving directory `/usr/src/mod_perl-1.22/URI'
make[2]: Entering directory `/usr/src/mod_perl-1.22/Util'
make[2]: Leaving directory `/usr/src/mod_perl-1.22/Util'
cp t/conf/mod_perl_srm.conf t/conf/srm.conf
./apaci/load_modules.pl ../apache_1.3.12/src
../apache_1.3.12/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...\c
done
/usr/bin/perl t/TEST 1
still waiting for server to warm up......ok
ok
ok
modules/actions.....1..1
fetch: `OK /LoadClass.pm'
ok 1
ok
modules/cgi.........module CGI is installed
1..5
ok 1
ok 2
ok 3
ServerError:
CGI open of tmpfile: No such file or directory

dump of %@:
/perl/cgi.pl = CGI open of tmpfile: No such file or directory

ok 5
FAILED test 4
	Failed 1/5 tests, 80.00% okay
modules/constants...1..79
ok 1
ok 2 (OPT_SYM_OWNER|ACCESS_CONF: 64)
ok 3 (AUTH_REQUIRED|AUTH_REQUIRED: 401)
ok 4 (BAD_GATEWAY|BAD_GATEWAY: 502)
ok 5 (BAD_REQUEST|BAD_REQUEST: 400)
ok 6 (DECLINED|CONTINUE: -1)
ok 7 (DECLINED|DECLINED: -1)
ok 8 (DOCUMENT_FOLLOWS|DOCUMENT_FOLLOWS: 200)
ok 9 (M_OPTIONS|FLAG: 5)
ok 10 (FORBIDDEN|FORBIDDEN: 403)
ok 11 (BAD_REQUEST|HTTP_BAD_REQUEST: 400)
ok 12 (FORBIDDEN|HTTP_FORBIDDEN: 403)
ok 13 (SERVER_ERROR|HTTP_INTERNAL_SERVER_ERROR: 500)
ok 14 (HTTP_METHOD_NOT_ALLOWED|HTTP_METHOD_NOT_ALLOWED: 405)
ok 15 (MOVED|HTTP_MOVED_PERMANENTLY: 301)
ok 16 (REDIRECT|HTTP_MOVED_TEMPORARILY: 302)
ok 17 (HTTP_NOT_ACCEPTABLE|HTTP_NOT_ACCEPTABLE: 406)
ok 18 (NOT_FOUND|HTTP_NOT_FOUND: 404)
ok 19 (USE_LOCAL_COPY|HTTP_NOT_MODIFIED: 304)
ok 20 (HTTP_NO_CONTENT|HTTP_NO_CONTENT: 204)
ok 21 (DOCUMENT_FOLLOWS|HTTP_OK: 200)
ok 22 (HTTP_PRECONDITION_FAILED|HTTP_PRECONDITION_FAILED: 412)
ok 23 (HTTP_SERVICE_UNAVAILABLE|HTTP_SERVICE_UNAVAILABLE: 503)
ok 24 (AUTH_REQUIRED|HTTP_UNAUTHORIZED: 401)
ok 25 (HTTP_VARIANT_ALSO_VARIES|HTTP_VARIANT_ALSO_VARIES: 506)
ok 26 (M_DELETE|ITERATE: 3)
ok 27 (OPT_SYM_LINKS|ITERATE2: 4)
ok 28 (OPT_UNSET|METHODS: 16)
ok 29 (MODULE_MAGIC_NUMBER|MODULE_MAGIC_NUMBER: 19990320)
ok 30 (MOVED|MOVED: 301)
ok 31 (OPT_SYM_LINKS|M_CONNECT: 4)
ok 32 (M_DELETE|M_DELETE: 3)
ok 33 (OK|M_GET: 0)
ok 34 (OPT_ALL|M_INVALID: 15)
ok 35 (M_OPTIONS|M_OPTIONS: 5)
ok 36 (OPT_INCLUDES|M_POST: 2)
ok 37 (OPT_INDEXES|M_PUT: 1)
ok 38 (M_TRACE|M_TRACE: 6)
ok 39 (DECLINED|NOT_AUTHORITATIVE: -1)
ok 40 (NOT_FOUND|NOT_FOUND: 404)
ok 41 (NOT_IMPLEMENTED|NOT_IMPLEMENTED: 501)
ok 42 (M_TRACE|NO_ARGS: 6)
ok 43 (OK|OK: 0)
ok 44 (OPT_ALL|OPT_ALL: 15)
ok 45 (OPT_EXECCGI|OPT_EXECCGI: 8)
ok 46 (OPT_INCLUDES|OPT_INCLUDES: 2)
ok 47 (OPT_INCNOEXEC|OPT_INCNOEXEC: 32)
ok 48 (OPT_INDEXES|OPT_INDEXES: 1)
ok 49 (OPT_MULTI|OPT_MULTI: 128)
ok 50 (OK|OPT_NONE: 0)
ok 51 (OPT_SYM_LINKS|OPT_SYM_LINKS: 4)
ok 52 (OPT_SYM_OWNER|OPT_SYM_OWNER: 64)
ok 53 (OPT_UNSET|OPT_UNSET: 16)
ok 54 (OR_ALL|OR_ALL: 31)
ok 55 (OPT_EXECCGI|OR_AUTHCFG: 8)
ok 56 (OPT_SYM_LINKS|OR_FILEINFO: 4)
ok 57 (OPT_UNSET|OR_INDEXES: 16)
ok 58 (OPT_INDEXES|OR_LIMIT: 1)
ok 59 (OK|OR_NONE: 0)
ok 60 (OPT_INCLUDES|OR_OPTIONS: 2)
ok 61 (OPT_INCNOEXEC|OR_UNSET: 32)
ok 62 (OK|RAW_ARGS: 0)
ok 63 (REDIRECT|REDIRECT: 302)
ok 64 (OK|REMOTE_HOST: 0)
ok 65 (OPT_INDEXES|REMOTE_NAME: 1)
ok 66 (OPT_INCLUDES|REMOTE_NOLOOKUP: 2)
ok 67 (RESPONSE_CODES|RESPONSE_CODES: 55)
ok 68 (OPT_MULTI|RSRC_CONF: 128)
ok 69 (OK|SATISFY_ALL: 0)
ok 70 (OPT_INDEXES|SATISFY_ANY: 1)
ok 71 (OPT_INCLUDES|SATISFY_NOSPEC: 2)
ok 72 (SERVER_ERROR|SERVER_ERROR: 500)
ok 73 (OPT_INDEXES|TAKE1: 1)
ok 74 (M_PATCH|TAKE12: 7)
ok 75 (M_MKCOL|TAKE123: 10)
ok 76 (OPT_INCLUDES|TAKE2: 2)
ok 77 (M_PROPPATCH|TAKE23: 9)
ok 78 (OPT_EXECCGI|TAKE3: 8)
ok 79
ok
modules/cookie......1..0
skipping test on this platform
modules/file........module Apache::File is installed
1..6
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
Thu Dec 30 00:53:06 1999ok
modules/httpdconf...1..5
ok 1
ok 2
DocumentRoot = /usr/src/mod_perl-1.22/t/docs
ok 3
ErrorLog = logs/error_log
ok 4
Port = 8888
ok 5
ok
modules/include.....1..4
ok 1
ok 2
ok 3
ok 4
ok
modules/log.........1..18
method emerg OK
ok 1
ok 2
method alert OK
ok 3
ok 4
method crit OK
ok 5
ok 6
method error OK
ok 7
ok 8
method warn OK
ok 9
ok 10
method notice OK
ok 11
ok 12
method info OK
ok 13
ok 14
method debug OK
ok 15
ok 16
ok 17
ok 18
ok
modules/module......1..0
skipping test on this platform
modules/perlrun.....1..6
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok
modules/psections...module Data::Dumper is installed
1..0
skipping test on this platform
modules/request.....1..0
skipping test on this platform
modules/src.........1..6
ok 1
dir=../../apache_1.3.12/src
ok 2
main=../../apache_1.3.12/src/include
ok 3
module_magic_number = 19990320
ok 4
httpd_version = 1.3.12
ok 5
-I../../apache_1.3.12/src -I../../apache_1.3.12/src/modules/perl -I../../apache_1.3.12/src/include
-I../../apache_1.3.12/src/regex -I../../apache_1.3.12/src/os/unix -I/usr/include/apache
ok 6
ok
modules/ssi.........

[an error occurred while processing this directive]
ok 3
FAILED before any test output arrived
modules/stage.......1..0
skipping test on this platform
modules/status......1..7
fetch /perl/perl-status
ok 1
fetch /perl/perl-status?script
ok 2
fetch /perl/perl-status?inc
ok 3
fetch /perl/perl-status?rgysubs
ok 4
fetch /perl/perl-status?env
ok 5
fetch /perl/perl-status?myconfig
ok 6
fetch /perl/perl-status?hooks
ok 7
ok
modules/symbol......1..0
skipping test on this platform
modules/uri.........1..44
URI=/perl/uri.pl
ok 1
scheme = `'
ok 2
hostinfo = `'
ok 3
user = `'
ok 4
password = `'
ok 5
hostname = `'
ok 6
path = `/perl/uri.pl'
ok 7
rpath = `/perl/uri.pl'
ok 8
query = `'
ok 9
fragment = `'
ok 10
port = `'
ok 11
unparse = `/perl/uri.pl'
URI=http://perl.apache.org/dist/apache-modlist.html
ok 12
scheme = `http'
ok 13
hostinfo = `perl.apache.org:80'
ok 14
user = `'
ok 15
password = `'
ok 16
hostname = `perl.apache.org'
ok 17
path = `/dist/apache-modlist.html'
ok 18
rpath = `/dist/apache-modlist.html'
ok 19
query = `'
ok 20
fragment = `'
ok 21
port = `80'
ok 22
unparse = `http://perl.apache.org/dist/apache-modlist.html'
URI=/perl/uri.pl
ok 23
scheme = `'
ok 24
hostinfo = `'
ok 25
user = `'
ok 26
password = `'
ok 27
hostname = `'
ok 28
path = `/perl/uri.pl'
ok 29
rpath = `/perl/uri.pl'
ok 30
query = `'
ok 31
fragment = `'
ok 32
port = `'
ok 33
unparse = `/perl/uri.pl'
URI=http://perl.apache.org/dist/apache-modlist.html
ok 34
scheme = `http'
ok 35
hostinfo = `perl.apache.org:80'
ok 36
user = `'
ok 37
password = `'
ok 38
hostname = `perl.apache.org'
ok 39
path = `/dist/apache-modlist.html'
ok 40
rpath = `/dist/apache-modlist.html'
ok 41
query = `'
ok 42
fragment = `'
ok 43
port = `80'
ok 44
unparse = `http://perl.apache.org/dist/apache-modlist.html'
ok
modules/util........1..8
ok 1
ok 2
ok 3
ok 4
C = http://www.apache.org/docs/mod/mod_proxy.html%3fhas%20some%20spaces
Perl = http://www.apache.org/docs/mod/mod_proxy.html?has%20some%20spaces
ok 5
C = Fri, 31 Mar 2000 22:03:12 GMT
Perl = Fri, 31 Mar 2000 22:03:12 GMT
builtin = Fri Mar 31 22:03:12 2000
ok 6
ok 7
C says: Sat Jul 18 08:38:00 1998
Perl says: Sat Jul 18 15:38:00 1998
HTT=Sat, 18 July 1998
ok 8
ok
internal/api........1..73
ok 1
ENV{MOD_PERL} = mod_perl/1.22
ok 2
GET /perl/api.pl HTTP/1.0
Host: localhost:8529
User-Agent: libwww-perl/5.47

HTTP/1.0 200 OK
Pragma: no-cache
Cache-control: no-cache
Connection: close
Content-Type: text/plain
Content-Language: en
Expires: Fri, 31 Mar 2000 22:03:12 GMT

r == Apache=SCALAR(0x8892590)
ok 3
ok 4
$Apache::Server::CWD == /usr/src/mod_perl-1.22
$0 == /usr/src/mod_perl-1.22/t/net/perl/api.pl
Apache.pm == 32626, /usr/src/mod_perl-1.22/t/net/perl/api.pl == 6789
ok 5
ok 6
<Location /perl>
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
ok 42
ok 43
ok 44
ok 45
ok 46
ok 47
ok 48
ok 49
ok 50
ok 51
ok 52
ok 53
ok 54
ok 55
ok 56
ok 57
ok 58
ok 59
ok 60
ok 61
ok 62
ok 63
ok 64
ok 65
ok 66
ok 67
ok 68
ok 69
ok 70
ok 71
ok 72
ok 73
method `uri' invoked by a `My::Req' object with no `r' key! at /usr/src/mod_perl-1.22/t/net/perl/api.pl
line 258.
ok
internal/auth.......1..2
ok 1
ok 2
ok
internal/croak......1..12
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok
internal/dirmagic...1..3
ok 1 (.)
ok 2 (..)
ok 3 (cal.txt)
ok
internal/error......1..1
ok 1
ok
internal/headers....module CGI is installed
1..13
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok
internal/hooks......GET http://localhost:8529/perl/hooks.pl

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Mar 2000 22:03:16 GMT
Server: Apache/1.3.12 (Unix) mod_ssl/2.6.2 OpenSSL/0.9.5 mod_perl/1.22 Perl/5.00503
Content-Type: text/html
Client-Date: Fri, 31 Mar 2000 22:03:16 GMT
Client-Peer: 127.0.0.1:8529

9

GET http://localhost:8529/test.html

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Mar 2000 22:03:16 GMT
Accept-Ranges: bytes
Server: Apache/1.3.12 (Unix) mod_ssl/2.6.2 OpenSSL/0.9.5 mod_perl/1.22 Perl/5.00503
Content-Length: 566
Content-Type: text/html
ETag: "1b1856-236-348991f7"
Last-Modified: Sat, 06 Dec 1997 17:57:11 GMT
Client-Date: Fri, 31 Mar 2000 22:03:16 GMT
Client-Peer: 127.0.0.1:8529



 And so it was decided the camel should be given magical multi-colored
 feathers so it could fly and journey to once unknown worlds.
 And so it was done...

<hr>
<!-- for testing perl mod_include's -->
Child <!--#perl sub="main::pid" --> accessed
<!--#perl sub="main::access" --> times. <br>

<hr>

<!--#perl sub="sub { print qq(__ANON__ works [@_])}" -->
<p>
<!--#perl sub="Apache::Include" arg="/perl/ssi.pl" -->

<!--#include virtual="/perl/io/ssi1.pl" -->

<!--#include virtual="/perl/io/ssi2.pl" -->

<!--#perl sub="SSI::one" -->

<!--#perl sub="SSI::two" -->

1..9
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok
internal/http-get...1..12
GET http://localhost:8529/perl/test?query

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Mar 2000 22:03:17 GMT
Server: Apache/1.3.12 (Unix) mod_ssl/2.6.2 OpenSSL/0.9.5 mod_perl/1.22 Perl/5.00503
Content-Type: text/plain
Client-Date: Fri, 31 Mar 2000 22:03:17 GMT
Client-Peer: 127.0.0.1:8529
X-Perl-Script: test

KeyForPerlSetVar = OK
ARGS: "query"

SERVER_SOFTWARE=Apache/1.3.12 (Unix) mod_ssl/2.6.2 OpenSSL/0.9.5 mod_perl/1.22 Perl/5.00503
DOCUMENT_ROOT=/usr/src/mod_perl-1.22/t/docs
GATEWAY_INTERFACE=CGI-Perl/1.1
REMOTE_ADDR=127.0.0.1
REQUEST_METHOD=GET
QUERY_STRING=query
REMOTE_PORT=3724
SERVER_ADDR=127.0.0.1
MOD_PERL=mod_perl/1.22
SCRIPT_FILENAME=/usr/src/mod_perl-1.22/t/net/perl/test
SERVER_NAME=localhost
SERVER_PORT=8529
SERVER_ADMIN=[no address given]
UNIQUE_ID=OOUgpcNKixQAABLHDLI
SERVER_PROTOCOL=HTTP/1.0
SERVER_SIGNATURE=
HTTP_USER_AGENT=libwww-perl/5.47
PATH=/bin
SCRIPT_NAME=/perl/test
KeyForPerlSetEnv=OK
REQUEST_URI=/perl/test?query
HTTP_HOST=localhost:8529
TOTAL: 22


ok 1
ok 2
ok 3
GET http://localhost:8529/perl/perl-status?query

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Mar 2000 22:03:17 GMT
Server: Apache/1.3.12 (Unix) mod_ssl/2.6.2 OpenSSL/0.9.5 mod_perl/1.22 Perl/5.00503
Content-Type: text/html
Client-Date: Fri, 31 Mar 2000 22:03:17 GMT
Client-Peer: 127.0.0.1:8529
Title: Apache::Status

<html>
<head><title>Apache::Status</title></head>
<body>
Embedded Perl version <b>5.00503</b> for <b>Apache/1.3.12 (Unix) mod_ssl/2.6.2
OpenSSL/0.9.5 mod_perl/1.22 Perl/5.00503</b> process <b>4807</b>, 
<br> running since Fri Mar 31 22:02:48 2000<hr>
<a href="/perl/perl-status?sig">Signal Handlers</a><br>
<a href="/perl/perl-status?hooks">Enabled mod_perl Hooks</a><br>
<a href="/perl/perl-status?script">PerlRequire'd Files</a><br>
<a href="/perl/perl-status?env">Environment</a><br>
<a href="/perl/perl-status?inc">Loaded Modules</a><br>
<a href="/perl/perl-status?myconfig">Perl Configuration</a><br>
<a href="/perl/perl-status?isa_tree">ISA Tree</a><br>
<a href="/perl/perl-status?inh_tree">Inheritance Tree</a><br>
<a href="/perl/perl-status?rgysubs">Compiled Registry Scripts</a><br>
<a href="/perl/perl-status?symdump">Symbol Table Dump</a><br>
</body></html>

ok 4
GET http://localhost:8529/perl/io/perlio.pl?query

HTTP/1.1 200 (OK) Bottles of beer on the wall
Connection: close
Date: Fri, 31 Mar 2000 22:03:17 GMT
Server: Apache/1.3.12 (Unix) mod_ssl/2.6.2 OpenSSL/0.9.5 mod_perl/1.22 Perl/5.00503
Content-Type: text/plain
Client-Date: Fri, 31 Mar 2000 22:03:17 GMT
Client-Peer: 127.0.0.1:8529
X-Message: hello
X-Perl-Script: perlio.pl
X-Perl-Version: 5.00503

perlio test...
$^X is httpd
WRITE to STDOUT works with 5.00503 without sfio
<Location /perl/io>
ARGS: "query"

SERVER_SOFTWARE=Apache/1.3.12 (Unix) mod_ssl/2.6.2 OpenSSL/0.9.5 mod_perl/1.22 Perl/5.00503
DOCUMENT_ROOT=/usr/src/mod_perl-1.22/t/docs
GATEWAY_INTERFACE=CGI-Perl/1.1
PERL_SEND_HEADER=On
REMOTE_ADDR=127.0.0.1
REQUEST_METHOD=GET
QUERY_STRING=query
REMOTE_PORT=3726
SERVER_ADDR=127.0.0.1
MOD_PERL=mod_perl/1.22
SCRIPT_FILENAME=/usr/src/mod_perl-1.22/t/net/perl/io/perlio.pl
SERVER_NAME=localhost
SERVER_PORT=8529
SERVER_ADMIN=[no address given]
UNIQUE_ID=OOUgpcNKixQAABLHDLQ
SERVER_PROTOCOL=HTTP/1.0
SERVER_SIGNATURE=
HTTP_USER_AGENT=libwww-perl/5.47
PATH=/bin:/usr/bin
SCRIPT_NAME=/perl/io/perlio.pl
KeyForPerlSetEnv=OK
REQUEST_URI=/perl/io/perlio.pl?query
HTTP_HOST=localhost:8529
PERL5LIB=/home/dougm/lib/perl


ok 5
ok 6
ok 7
ok 8
Server: Apache/1.3.12 (Unix) mod_ssl/2.6.2 OpenSSL/0.9.5 mod_perl/1.22 Perl/5.00503
ok 9
pounding a bit...
ok 10
ok 11
ok 12
ok
internal/http-post..1..7
HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Mar 2000 22:03:18 GMT
Server: Apache/1.3.12 (Unix) mod_ssl/2.6.2 OpenSSL/0.9.5 mod_perl/1.22 Perl/5.00503
Content-Type: text/plain
Client-Date: Fri, 31 Mar 2000 22:03:18 GMT
Client-Peer: 127.0.0.1:8529
X-Perl-Script: test

KeyForPerlSetVar = OK
No command line arguments passed to script

SERVER_SOFTWARE=Apache/1.3.12 (Unix) mod_ssl/2.6.2 OpenSSL/0.9.5 mod_perl/1.22 Perl/5.00503
DOCUMENT_ROOT=/usr/src/mod_perl-1.22/t/docs
GATEWAY_INTERFACE=CGI-Perl/1.1
REMOTE_ADDR=127.0.0.1
REQUEST_METHOD=POST
QUERY_STRING=
REMOTE_PORT=3731
SERVER_ADDR=127.0.0.1
MOD_PERL=mod_perl/1.22
SCRIPT_FILENAME=/usr/src/mod_perl-1.22/t/net/perl/test
SERVER_NAME=localhost
SERVER_PORT=8529
SERVER_ADMIN=[no address given]
UNIQUE_ID=OOUgpsNKixQAABLHDLk
SERVER_PROTOCOL=HTTP/1.0
SERVER_SIGNATURE=
HTTP_USER_AGENT=libwww-perl/5.47
PATH=/bin
SCRIPT_NAME=/perl/test
KeyForPerlSetEnv=OK
REQUEST_URI=/perl/test
CONTENT_TYPE=application/x-www-form-urlencoded
CONTENT_LENGTH=20
HTTP_HOST=localhost:8529
PERL5LIB=/home/dougm/lib/perl
TOTAL: 25
Content
-------
searchtype=Substring


ok 1
ok 2
HTTP/1.1 200 (OK) Bottles of beer on the wall
Connection: close
Date: Fri, 31 Mar 2000 22:03:18 GMT
Server: Apache/1.3.12 (Unix) mod_ssl/2.6.2 OpenSSL/0.9.5 mod_perl/1.22 Perl/5.00503
Content-Type: text/plain
Client-Date: Fri, 31 Mar 2000 22:03:18 GMT
Client-Peer: 127.0.0.1:8529
X-Message: hello
X-Perl-Script: perlio.pl
X-Perl-Version: 5.00503

perlio test...
$^X is httpd
WRITE to STDOUT works with 5.00503 without sfio
<Location /perl/io>
No command line arguments passed to script

SERVER_SOFTWARE=Apache/1.3.12 (Unix) mod_ssl/2.6.2 OpenSSL/0.9.5 mod_perl/1.22 Perl/5.00503
DOCUMENT_ROOT=/usr/src/mod_perl-1.22/t/docs
GATEWAY_INTERFACE=CGI-Perl/1.1
PERL_SEND_HEADER=On
REMOTE_ADDR=127.0.0.1
REQUEST_METHOD=POST
QUERY_STRING=
REMOTE_PORT=3732
SERVER_ADDR=127.0.0.1
MOD_PERL=mod_perl/1.22
SCRIPT_FILENAME=/usr/src/mod_perl-1.22/t/net/perl/io/perlio.pl
SERVER_NAME=localhost
SERVER_PORT=8529
SERVER_ADMIN=[no address given]
UNIQUE_ID=OOUgpsNKixQAABLHDLo
SERVER_PROTOCOL=HTTP/1.0
SERVER_SIGNATURE=
HTTP_USER_AGENT=libwww-perl/5.47
PATH=/bin:/usr/bin
SCRIPT_NAME=/perl/io/perlio.pl
KeyForPerlSetEnv=OK
REQUEST_URI=/perl/io/perlio.pl
CONTENT_TYPE=application/x-www-form-urlencoded
CONTENT_LENGTH=20
HTTP_HOST=localhost:8529
PERL5LIB=/home/dougm/lib/perl

Content
-------
searchtype=Substring

ok 3
ok 4
pounding a bit...
ok 5
ok 6
ok 7
ok
internal/proxy......1..1
ok 1
ok
internal/redirect...module CGI is installed
1..5
ok 1
ok 2
ok 3
content=`OK'
ok 4
content=`'
ok 5
content=`OK'
ok
internal/rwrite.....1..2
ok 1
ok 2
ok
internal/stacked....1..4
ok 1
ok 2
ok 3
ok 4
ok
internal/table......1..32
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
@notes = 3 tre
ok 15
DO: example-trace =>    <LI>
    <DL>
     <DT><SAMP>example_post_read_request()</SAMP>
     </DT>
     <DD><SAMP>[DIR()]</SAMP>
     </DD>
    </DL>
   </LI>
   <LI>
    <DL>
     <DT><SAMP>example_header_parser()</SAMP>
     </DT>
     <DD><SAMP>[DIR()]</SAMP>
     </DD>
    </DL>
   </LI>
   <LI>
    <DL>
     <DT><SAMP>example_access_checker()</SAMP>
     </DT>
     <DD><SAMP>[DIR()]</SAMP>
     </DD>
    </DL>
   </LI>
   <LI>
    <DL>
     <DT><SAMP>example_type_checker()</SAMP>
     </DT>
     <DD><SAMP>[DIR()]</SAMP>
     </DD>
    </DL>
   </LI>
   <LI>
    <DL>
     <DT><SAMP>example_fixer_upper()</SAMP>
     </DT>
     <DD><SAMP>[DIR()]</SAMP>
     </DD>
    </DL>
   </LI>

DO: PERL_CUR_HOOK => PerlHandler
DO: three => 3
DO: two => 2
DO: three => tre
ok 16
ok 17
DO: three => 3
DO: three => tre
ok 18
as_string match
headers_in:
Accept = application/x-perl
User-Agent = libwww-perl/5.47
Host = localhost:8529
TOTAL: 3

ok 19
ok 20
headers_out:
Connection = close
Content-Type = text/plain
TOTAL: 2

ok 21
ok 22
err_headers_out:
TOTAL: 0

ok 23
ok 24
notes:
example-trace =    <LI>
    <DL>
     <DT><SAMP>example_post_read_request()</SAMP>
     </DT>
     <DD><SAMP>[DIR()]</SAMP>
     </DD>
    </DL>
   </LI>
   <LI>
    <DL>
     <DT><SAMP>example_header_parser()</SAMP>
     </DT>
     <DD><SAMP>[DIR()]</SAMP>
     </DD>
    </DL>
   </LI>
   <LI>
    <DL>
     <DT><SAMP>example_access_checker()</SAMP>
     </DT>
     <DD><SAMP>[DIR()]</SAMP>
     </DD>
    </DL>
   </LI>
   <LI>
    <DL>
     <DT><SAMP>example_type_checker()</SAMP>
     </DT>
     <DD><SAMP>[DIR()]</SAMP>
     </DD>
    </DL>
   </LI>
   <LI>
    <DL>
     <DT><SAMP>example_fixer_upper()</SAMP>
     </DT>
     <DD><SAMP>[DIR()]</SAMP>
     </DD>
    </DL>
   </LI>

PERL_CUR_HOOK = PerlHandler
three = 3
two = 2
three = 3
TOTAL: 5

ok 25
ok 26
dir_config:
TOTAL: 0

ok 27
ok 28
subprocess_env:
DOCUMENT_ROOT = /usr/src/mod_perl-1.22/t/docs
HTTP_HOST = localhost:8529
HTTP_USER_AGENT = libwww-perl/5.47
PATH = /bin:/usr/bin
REMOTE_ADDR = 127.0.0.1
REMOTE_PORT = 3745
SCRIPT_FILENAME = /usr/src/mod_perl-1.22/t/net/perl/tie_table.pl
SERVER_ADDR = 127.0.0.1
SERVER_ADMIN = [no address given]
SERVER_NAME = localhost
SERVER_PORT = 8529
SERVER_SIGNATURE = 
SERVER_SOFTWARE = Apache/1.3.12 (Unix) mod_ssl/2.6.2 OpenSSL/0.9.5 mod_perl/1.22 Perl/5.00503
UNIQUE_ID = OOUgqcNKixQAABLHDMc
GATEWAY_INTERFACE = CGI-Perl/1.1
SERVER_PROTOCOL = HTTP/1.0
REQUEST_METHOD = GET
QUERY_STRING = 
REQUEST_URI = /perl/tie_table.pl
SCRIPT_NAME = /perl/tie_table.pl
TOTAL: 20

ok 29
ok 30
ok 31
ok 32
ok
internal/taint......1..3
GET http://localhost:8529/perl/taint.pl?args

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Mar 2000 22:03:21 GMT
Server: Apache/1.3.12 (Unix) mod_ssl/2.6.2 OpenSSL/0.9.5 mod_perl/1.22 Perl/5.00503
Content-Type: text/plain
Client-Date: Fri, 31 Mar 2000 22:03:21 GMT
Client-Peer: 127.0.0.1:8529

OK

ok 1
GET http://localhost:8529/perl/taint.pl?env

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Mar 2000 22:03:21 GMT
Server: Apache/1.3.12 (Unix) mod_ssl/2.6.2 OpenSSL/0.9.5 mod_perl/1.22 Perl/5.00503
Content-Type: text/plain
Client-Date: Fri, 31 Mar 2000 22:03:21 GMT
Client-Peer: 127.0.0.1:8529

OK

ok 2
GET http://localhost:8529/perl/taint.pl?header_in

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Mar 2000 22:03:21 GMT
Server: Apache/1.3.12 (Unix) mod_ssl/2.6.2 OpenSSL/0.9.5 mod_perl/1.22 Perl/5.00503
Content-Type: text/plain
Client-Date: Fri, 31 Mar 2000 22:03:21 GMT
Client-Peer: 127.0.0.1:8529

OK

ok 3
ok
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
modules/cgi.t                 5    1  20.00%  4
modules/ssi.t                ??   ??       %  ??
6 tests skipped.
make[1]: Leaving directory `/usr/src/mod_perl-1.22'

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.2.14-1mdksmp, archname=i386-linux
    uname='linux jedi.mandrakesoft.com 2.2.14-1mdksmp #1 smp thu dec 2 01:02:03 cet 1999 i686
unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s -mpentium
-mcpu=pentium -march=pentium -ffast-math -fexpensive-optimizations', gccversion=2.95.2 19991024
(release)
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=undef, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lc -lposix -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Mime
View raw message