On Jul 7, 2006, at 12:24, Dave Rolsky wrote:
If you run mod_perl 1 on any non-Linux platform, running the tests
would be a great help.
Mac OS X 10.4 (a BSD variant):
geertz% make test TEST_VERBOSE=1
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /Users/david/Desktop/Apache-
SizeLimit-0.9-rc2/t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT=
APACHE_TEST_USER= APACHE_TEST_APXS= \
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -bugreport -verbose=1
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /Users/david/Desktop/Apache-
SizeLimit-0.9-rc2/t/TEST -bugreport -verbose=1
/usr/local/apache/bin/httpd -d /Users/david/Desktop/Apache-
SizeLimit-0.9-rc2/t -f /Users/david/Desktop/Apache-SizeLimit-0.9-rc2/
t/conf/httpd.conf -D APACHE1
using Apache/1.3.34
waiting 60 seconds for server to start: .
waiting 60 seconds for server to start: ok (waited 0 secs)
server localhost:8529 started
t/apache/basic.........1..12
# Using Apache/Test.pm version 1.28
ok 1 - check that _limits_are_exceeded() returns false without any
limits set
not ok 2 - proc size is reported > 0
# Failed test 'proc size is reported > 0'
# in /Users/david/Desktop/Apache-SizeLimit-0.9-rc2/t/response/
TestApache/basic.pm at line 25.
# '0'
# >
# '0'
ok 3 - real_getppid() > 1
not ok 4 - proc size is reported > 10240
# Failed test 'proc size is reported > 10240'
# in /Users/david/Desktop/Apache-SizeLimit-0.9-rc2/t/response/
TestApache/basic.pm at line 43.
# '0'
# >
# '10240'
not ok 5 - check that _limits_are_exceeded() returns true based on
max process size
# Failed test 'check that _limits_are_exceeded() returns true based
on max process size'
# in /Users/david/Desktop/Apache-SizeLimit-0.9-rc2/t/response/
TestApache/basic.pm at line 47.
ok 6 # skip We cannot get shared memory on this platform.
ok 7 # skip We cannot get shared memory on this platform.
ok 8 # skip We cannot get shared memory on this platform.
ok 9 - set_check_interval set global
ok 10 - there is no PerlCleanupHandler before add_cleanup_handler()
ok 11 - there is one PerlCleanupHandler after add_cleanup_handler()
ok 12 - there is stil one PerlCleanupHandler after add_cleanup_handler
() a second time
FAILED tests 2, 4-5
Failed 3/12 tests, 75.00% okay (less 3 skipped tests: 6
okay, 50.00%)
t/apache/deprecated....1..5
# Using Apache/Test.pm version 1.28
ok 1 - there is no PerlCleanupHandler before add_cleanup_handler()
ok 2 - setmax changes $MAX_PROCESS_SIZE
ok 3 - setmax changes $MIN_SHARE_SIZE
ok 4 - setmax_unshared changes $MAX_UNSHARED_SIZE
ok 5 - there is one PerlCleanupHandler after calling deprecated
functions
ok
t/pod..................1..1
ok 1 - blib/lib/Apache/SizeLimit.pm
ok
Failed Test Stat Wstat Total Fail List of Failed
------------------------------------------------------------------------
-------
t/apache/basic.t 12 3 2 4-5
3 subtests skipped.
Failed 1/3 test scripts. 3/18 subtests failed.
Files=3, Tests=18, 5 wallclock secs ( 1.69 cusr + 0.38 csys = 2.07
CPU)
Failed 1/3 test programs. 3/18 subtests failed.
[warning] server localhost:8529 shutdown
[ error] error running tests (please examine t/logs/error_log)
make: *** [run_tests] Error 1
geertz% cat t/logs/error_log
[Sat Jul 8 19:13:43 2006] [notice] Apache/1.3.34 (Darwin) mod_perl/
1.29 mod_ssl/2.8.25 OpenSSL/0.9.7b configured -- resuming normal
operations
[Sat Jul 8 19:13:43 2006] [info] Server built: Feb 28 2006 17:21:15
[Sat Jul 8 19:13:43 2006] [notice] Accept mutex: flock (Default: flock)
[Sat Jul 8 19:13:49 2006] [info] [client 127.0.0.1] client stopped
connection before rwrite completed
[Sat Jul 8 19:13:49 2006] [debug] Apache.c(364): mod_perl: rwrite
returned -1 (fd=-1, B_EOUT=8)\n
[Sat Jul 8 19:13:49 2006] [info] removed PID file /Users/david/
Desktop/Apache-SizeLimit-0.9-rc2/t/logs/httpd.pid (pid=24573)
[Sat Jul 8 19:13:49 2006] [notice] caught SIGTERM, shutting down
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]