Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: mp2.0 - make test failed compat/apache_util.t: msg#00345

apache.mod-perl.devel

Subject: Re: mp2.0 - make test failed compat/apache_util.t

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: '<p>"hi"&foo</p>'
# received: '<p>"hi"&foo</p>'
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: '<p>"hi"&foo</p>'
# received: '<p>"hi"&foo</p>'
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.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation