perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Batara Kesuma <bkes...@ml.gaijinweb.com>
Subject Re: mp2.0 - make test failed compat/apache_util.t
Date Tue, 27 May 2003 04:53:17 GMT
Hi Stas,

> You forgot to paste the output of the t/TEST -v run (in addition to 
> t/logs/error_log). I thought I made that clear at:
> http://perl.apache.org/docs/2.0/user/help/help.html#_C_make_test___Failures
> Please suggest how to make that even clearer. Thanks.

Wow that was fast reply. Ok, sorry I missed that part. I think it failed
because my locale is set to japanese environment (ja_JP.eucJP). When the
LANG=ja_jp.eucJP, then t/TEST -v will be like:

[root@shibuya-dv1 mod_perl-1.99_09]# t/TEST -v compat/apache_util.t
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST -v 'compat/apache_util.t'
*** root mode: changing the fs ownership to 'nobody' (99:99)
/usr/sbin/httpd  -d /usr/src/redhat/BUILD/mod_perl-1.99_09/t -f
/usr/src/redhat/BUILD/mod_perl-1.99_09/t/conf/httpd.conf -DAPACHE2
-DPERL_USEITHREADS
using Apache/2.0.40 (prefork MPM)

waiting for server to start: .[Tue May 27 13:43:58 2003] [info] 19
Apache:: modules loaded
[Tue May 27 13:43:58 2003] [info] 3 APR:: modules loaded
[Tue May 27 13:43:58 2003] [info] base server + 8 vhosts ready to run
tests
....
waiting for server to start: ok (waited 3 secs)
server localhost.localdomain:8529 started
server localhost.localdomain:8530 listening (TestProtocol::echo_filter)
server localhost.localdomain:8531 listening (TestProtocol::echo)
server localhost.localdomain:8532 listening (TestPreConnection::note)
server localhost.localdomain:8533 listening (TestFilter::in_str_msg)
server localhost.localdomain:8534 listening (TestFilter__both_str_con_add)
server localhost.localdomain:8535 listening (TestFilter::in_bbs_msg)
server localhost.localdomain:8536 listening (TestDirective::perlmodule)
server localhost.localdomain:8537 listening (TestDirective::perlrequire)
server localhost.localdomain:8538 listening
(TestDirective::perlloadmodule4)
server localhost.localdomain:8539 listening
(TestDirective::perlloadmodule5)
server localhost.localdomain:8540 listening
(TestDirective::perlloadmodule3)
server localhost.localdomain:8541 listening
(TestDirective::perlloadmodule6)
compat/apache_util....1..15
# expected: '40054M'
# received: '40054M'
ok 1
# expected: '   1k'
# received: '   1k'
ok 2
# expected: '40.1M'
# received: '40.1M'
ok 3
# expected: '  41k'
# received: '  41k'
ok 4
# expected: '   0k'
# received: '   0k'
ok 5
# expected: '    -'
# received: '    -'
ok 6
# testing : Apache::Util::escape_uri
# expected: 'http://foo.com/a%20file.html'
# received: 'http://foo.com/a%20file.html'
ok 7
# testing : Apache::Util::escape_path
# expected: 'http://foo.com/a%20file.html'
# received: 'http://foo.com/a%20file.html'
ok 8
# testing : Apache::URI::unescape_uri vs Apache::Util::unescape_uri
# expected: 'http://foo.com/a file.html'
# received: 'http://foo.com/a file.html'
ok 9
# testing : Apache::URI::unescape_uri vs Apache::Util::unescape_uri
# expected: 'http://foo.com/a file.html'
# received: 'http://foo.com/a file.html'
ok 10
# testing : Apache::Util::escape_html
# expected: '&lt;p&gt;&quot;hi&quot;&amp;foo&lt;/p&gt;'
# received: '&lt;p&gt;&quot;hi&quot;&amp;foo&lt;/p&gt;'
ok 11
# testing : Apache::Util::ht_time
# expected: '火, 27  5月 2003 04:44:03 GMT'
# received: '火, 27  5月 2003 04:44:03 GMT'
ok 12
# testing : Apache::Util::parsedate
# expected: 1054010643
# received: '0'
not ok 13
# expected: 1
# received: 1
ok 14
# expected: 0
# received: 0
ok 15
FAILED test 13
        Failed 1/15 tests, 93.33% okay
Failed Test          Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------
------
compat/apache_util.t               15    1   6.67%  13
*** server localhost.localdomain:8529 shutdown
!!! error running tests (please examine t/logs/error_log)


And then if I set it to English (en_US) it will be like:
[root@shibuya-dv1 mod_perl-1.99_09]# LANG=en_US t/TEST -v
compat/apache_util.t
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST -v 'compat/apache_util.t'
*** root mode: changing the fs ownership to 'nobody' (99:99)
/usr/sbin/httpd  -d /usr/src/redhat/BUILD/mod_perl-1.99_09/t -f
/usr/src/redhat/BUILD/mod_perl-1.99_09/t/conf/httpd.conf -DAPACHE2
-DPERL_USEITHREADS
using Apache/2.0.40 (prefork MPM)

waiting for server to start: .[Tue May 27 13:44:30 2003] [info] 19
Apache:: modules loaded
[Tue May 27 13:44:30 2003] [info] 3 APR:: modules loaded
[Tue May 27 13:44:30 2003] [info] base server + 8 vhosts ready to run
tests
...
waiting for server to start: ok (waited 3 secs)
server localhost.localdomain:8529 started
server localhost.localdomain:8530 listening (TestProtocol::echo_filter)
server localhost.localdomain:8531 listening (TestProtocol::echo)
server localhost.localdomain:8532 listening (TestPreConnection::note)
server localhost.localdomain:8533 listening (TestFilter::in_str_msg)
server localhost.localdomain:8534 listening (TestFilter__both_str_con_add)
server localhost.localdomain:8535 listening (TestFilter::in_bbs_msg)
server localhost.localdomain:8536 listening (TestDirective::perlmodule)
server localhost.localdomain:8537 listening (TestDirective::perlrequire)
server localhost.localdomain:8538 listening
(TestDirective::perlloadmodule4)
server localhost.localdomain:8539 listening
(TestDirective::perlloadmodule5)
server localhost.localdomain:8540 listening
(TestDirective::perlloadmodule3)
server localhost.localdomain:8541 listening
(TestDirective::perlloadmodule6)
compat/apache_util....1..15
# expected: '40054M'
# received: '40054M'
ok 1
# expected: '   1k'
# received: '   1k'
ok 2
# expected: '40.1M'
# received: '40.1M'
ok 3
# expected: '  41k'
# received: '  41k'
ok 4
# expected: '   0k'
# received: '   0k'
ok 5
# expected: '    -'
# received: '    -'
ok 6
# testing : Apache::Util::escape_uri
# expected: 'http://foo.com/a%20file.html'
# received: 'http://foo.com/a%20file.html'
ok 7
# testing : Apache::Util::escape_path
# expected: 'http://foo.com/a%20file.html'
# received: 'http://foo.com/a%20file.html'
ok 8
# testing : Apache::URI::unescape_uri vs Apache::Util::unescape_uri
# expected: 'http://foo.com/a file.html'
# received: 'http://foo.com/a file.html'
ok 9
# testing : Apache::URI::unescape_uri vs Apache::Util::unescape_uri
# expected: 'http://foo.com/a file.html'
# received: 'http://foo.com/a file.html'
ok 10
# testing : Apache::Util::escape_html
# expected: '&lt;p&gt;&quot;hi&quot;&amp;foo&lt;/p&gt;'
# received: '&lt;p&gt;&quot;hi&quot;&amp;foo&lt;/p&gt;'
ok 11
# testing : Apache::Util::ht_time
# expected: 'Tue, 27 May 2003 04:44:34 GMT'
# received: 'Tue, 27 May 2003 04:44:34 GMT'
ok 12
# testing : Apache::Util::parsedate
# expected: 1054010674
# received: '1054010674'
ok 13
# expected: 1
# received: 1
ok 14
# expected: 0
# received: 0
ok 15
ok
All tests successful.
Files=1, Tests=15,  1 wallclock secs ( 0.62 cusr +  0.05 csys =  0.67 CPU)
*** server localhost.localdomain:8529 shutdown

I will try to compile again with LANG=en_US and post the result again
here.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message