perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: make test fails on RedHat
Date Wed, 21 Apr 2004 06:08:41 GMT
Hi,

this looks like I expected it.

It is not a problem of Emperl, but of make test. It's specific to RedHat's
Apache installation, which does not write newlines to the error log, for
which reason the number of error lines is different then make test expects.

Could please try if the following patch fixes the problem:

test.pl line 1605

-        $cnt-- ;
+        my @cnt = split /(?:\\n)+/ ;
+        $cnt -= @cnt ;

Gerald


Derrick Spell wrote:
> Here it is...
>
> make[1]: Entering directory `/home/admin/Embperl-2.0b11/xs'
> make[2]: Entering directory `/home/admin/Embperl-2.0b11/xs/Embperl'
> make[3]: Entering directory
> `/home/admin/Embperl-2.0b11/xs/Embperl/App' make[4]: Entering
> directory `/home/admin/Embperl-2.0b11/xs/Embperl/App/Config'
> make[4]: Leaving directory
> `/home/admin/Embperl-2.0b11/xs/Embperl/App/Config'
> make[3]: Leaving directory `/home/admin/Embperl-2.0b11/xs/Embperl/App'
> make[3]: Entering directory
> `/home/admin/Embperl-2.0b11/xs/Embperl/Component'
> make[4]: Entering directory
> `/home/admin/Embperl-2.0b11/xs/Embperl/Component/Config'
> make[4]: Leaving directory
> `/home/admin/Embperl-2.0b11/xs/Embperl/Component/Config'
> make[4]: Entering directory
> `/home/admin/Embperl-2.0b11/xs/Embperl/Component/Output'
> make[4]: Leaving directory
> `/home/admin/Embperl-2.0b11/xs/Embperl/Component/Output'
> make[4]: Entering directory
> `/home/admin/Embperl-2.0b11/xs/Embperl/Component/Param'
> make[4]: Leaving directory
> `/home/admin/Embperl-2.0b11/xs/Embperl/Component/Param'
> make[3]: Leaving directory
> `/home/admin/Embperl-2.0b11/xs/Embperl/Component'
> make[3]: Entering directory
> `/home/admin/Embperl-2.0b11/xs/Embperl/Req' make[4]: Entering
> directory `/home/admin/Embperl-2.0b11/xs/Embperl/Req/Config'
> make[4]: Leaving directory
> `/home/admin/Embperl-2.0b11/xs/Embperl/Req/Config'
> make[4]: Entering directory
> `/home/admin/Embperl-2.0b11/xs/Embperl/Req/Param'
> make[4]: Leaving directory
> `/home/admin/Embperl-2.0b11/xs/Embperl/Req/Param'
> make[3]: Leaving directory `/home/admin/Embperl-2.0b11/xs/Embperl/Req'
> make[3]: Entering directory
> `/home/admin/Embperl-2.0b11/xs/Embperl/Syntax'
> make[3]: Leaving directory
> `/home/admin/Embperl-2.0b11/xs/Embperl/Syntax'
> make[3]: Entering directory
> `/home/admin/Embperl-2.0b11/xs/Embperl/Thread'
> make[3]: Leaving directory
> `/home/admin/Embperl-2.0b11/xs/Embperl/Thread'
> make[2]: Leaving directory `/home/admin/Embperl-2.0b11/xs/Embperl'
> make[1]: Leaving directory `/home/admin/Embperl-2.0b11/xs'
> PERL_DL_NONLAZY=0 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl -h
> -i
>
> loading...                    ok
>
>
> Starting httpd...
> pid = 2315  ok
>
> Testing mod_perl mode...
>
> #0 ascii...                   ok
> #1 pure.htm...                ok
> #2 nooutput.htm...            ok
> #3 nooutput.htm...            ok
> #4 plain.htm...               ok
> #5 plain.htm...               ok
> #6 plain.htm...               ok
> #7 plainblock.htm...          ok
> #8 plainblock.htm...          ok
> #12 error.htm...
>
> Expected 4 more error(s) in logfile
>
> #13 error.htm...
>
> Expected 4 more error(s) in logfile
>
> #14 error.htm...
>
> Expected 4 more error(s) in logfile
>
> #15 errormismatch.htm...      ok
> #16 errormismatchcmd.htm...   ok
> #17 unclosed.htm...           ok
> #18 notfound.htm...           ok
> #19 notallow.xhtm...          ok
> #22 errdoc/errdoc.htm...
>
> Expected 4 more error(s) in logfile
>
> #24 errdoc/epl/errdoc2.htm...
>
> Expected 4 more error(s) in logfile
>
> #25 rawinput/rawinput.htm...  ok
> #26 var.htm...                ok
> #31 varerr.htm...
>
> Expected 6 more error(s) in logfile
>
> #34 varepvar.htm...           ok
> #35 escape.htm...             ok
> #36 escape.htm...             ok
> #39 tagscan.htm...            ok
> #40 tagscan.htm-d 1 ...       ok
> #42 if.htm...                 ok
> #43 ifperl.htm...             ok
> #44 loop.htm...               ok
> #45 loopperl.htm...           ok
> #46 table.htm...              ok
> #47 table.htm-d 1 ...         ok
> #49 lists.htm...              ok
> #50 select.htm...             ok
> #51 selecttab.htm...          ok
> #52 selecttab2.htm...         ok
> #53 mix.htm...                ok
> #55 nesting.htm...            ok
> #56 nesting2.htm...           ok
> #58 object.htm...             ok
> #60 input.htm...              ok
> #61 hidden.htm...             ok
> #62 java.htm...               ok
> #63 inputjava.htm...          ok
> #64 inputjs2.htm...           ok
> #65 heredoc.htm...            ok
> #66 epglobals.htm...          ok
> #67 post.htm...               ok
> #68 upload.htm...             ok
> #69 reqrec.htm...             ok
> #70 reqrec.htm...             ok
> #71 keepreq.htm...            ok
> #72 keepreq.htm...            ok
> #73 hostconfig.htm...         ok
> #74 hostconfig.htm...         ok
> #75 hostconfig.htm...         ok
> #76 hostconfig.htm...         ok
> #78 rawinput/include.htm...   ok
> #79 rawinput/include.htm...   ok
> #80 execnotfound.htm...       ok
> #81 includeerr1.htm...        ok
> #82 includeerr1.htm...        ok
> #84 includeerr2.htm...
>
> Expected 2 more error(s) in logfile
>
> #85 includeerr2.htm...
>
> Expected 2 more error(s) in logfile
>
> #86 includeerrbt.htm...
>
> Expected 2 more error(s) in logfile
>
> #87 incif.htm...              ok
> #88 registry/Execute.htm...   ok
> #90 registry/tied.htm...      ok
> #91 registry/tied.htm...      ok
> #92 callsub.htm...            ok
> #93 callsub.htm...            ok
> #94 sub2.htm...               ok
> #95 sub2.htm...               ok
> #96 subout.htm...             ok
> #97 subout.htm...             ok
> #98 subouttab.htm...          ok
> #99 subouttab.htm...          ok
> #100 executesub.htm...        ok
> #101 executesub.htm...        ok
> #102 execfirst.htm...         ok
> #103 execsecond.htm...        ok
> #104 execprint.htm...         ok
> #105 execviamod.htm...        ok
> #106 importsub.htm...         ok
> #107 importsub.htm...         ok
> #108 importsub2.htm...        ok
> #109 subtextarea.htm...       ok
> #110 subtextarea.htm...       ok
> #112 nph/div.htm...           ok
> #114 nph/nphinc.htm...        ok
> #115 sub.htm...               ok
> #116 sub.htm...               ok
> #117 subtab.htm...            ok
> #118 exit.htm...              ok
> #119 exit2.htm...             ok
> #121 exitreq.htm...           ok
> #122 exitcomp.htm...          ok
> #123 chdir.htm...             ok
> #124 chdir.htm...             ok
> #125 allform/allform.htm...   ok
> #127 nochdir/nochdir.htm...   ok
> #128 match/div.htm...         ok
> #129 match/div.asc...         ok
> #131 div.htm...               ok
> #132 div.htm...               ok
> #133 taint.htm...             ok
> #134 ofunc/div.htm...         ok
> #142 mdatsess.htm...               skip on this plattform
> #143 setsess.htm...                skip on this plattform
> #144 mdatsess.htm...               skip on this plattform
> #145 getnosess.htm...              skip on this plattform
> #146 mdatsess.htm...               skip on this plattform
> #147 getsess.htm...                skip on this plattform
> #148 mdatsess.htm...               skip on this plattform
> #149 execgetsess.htm...            skip on this plattform
> #151 getsess.htm...                skip on this plattform
> #152 delwrsess.htm...              skip on this plattform
> #153 getbsess.htm...               skip on this plattform
> #154 delrdsess.htm...              skip on this plattform
> #155 getdelsess.htm...             skip on this plattform
> #156 setsess.htm...                skip on this plattform
> #157 delsess.htm...                skip on this plattform
> #158 getdelsess.htm...             skip on this plattform
> #159 clearsess.htm...              skip on this plattform
> #160 setbadsess.htm...             skip on this plattform
> #161 setunknownsess.htm...         skip on this plattform
> #162 uidurl/seturlsess.htm...      skip on this plattform
> #163 uidurl/getnourlsess.htm...    skip on this plattform
> #164 uidurl/geturlsess.htm...      skip on this plattform
> #165 suidurl/seturlsess.htm...     skip on this plattform
> #166 suidurl/getnourlsess.htm...   skip on this plattform
> #167 suidurl/geturlsess.htm...     skip on this plattform
> #168 sidurl/setsdaturlsess.htm...  skip on this plattform
> #169 sidurl/getsdaturlsess.htm...  skip on this plattform
> #170 EmbperlObject/epopage1.htm...ok
> #171 EmbperlObject/epopage1.htm...ok
> #172 EmbperlObject/epoincdiv.htm...ok
> #173 EmbperlObject/epofdat.htm...ok
> #174 EmbperlObject/epodiv.htm...ok
> #175 EmbperlObject/sub/epopage2.htm...ok
> #176 EmbperlObject/sub/epopage2.htm...ok
> #177 EmbperlObject/sub/subsub/eposubsub.htm...ok
> #178 EmbperlObject/sub/subsub/subsubsub/eposubsub.htm...ok
> #179 EmbperlObject/sub/subsub/subsubsub/eposubsub2.htm...ok
> #180 EmbperlObject/sub/eponotfound.htm...ok
> #181 EmbperlObject/sub/epobless.htm...ok
> #182 EmbperlObject/sub/epobless.htm...ok
> #183 EmbperlObject/sub/epobless2.htm...ok
> #184 EmbperlObject/sub/epobless2.htm...ok
> #185 EmbperlObject/sub/epobless3.htm...ok
> #186 EmbperlObject/sub/epobless3.htm...ok
> #187 EmbperlObject/obj/epoobj1.htm...ok
> #188 EmbperlObject/obj/epoobj2.htm...ok
> #189 EmbperlObject/obj/epoobj3.htm...ok
> #191 EmbperlObject/base2/epostopdir.htm...ok
> #192 EmbperlObject/base3/epobaselib.htm...ok
> #193 EmbperlObject/epobase.htm...ok
> #194 SSI/ssibasic.htm...      ok
> #195 SSIEP/ssiep.htm...       ok
> #196 inctext.htm...           ok
> #197 incperl.htm...           ok
> #198 asp.htm...               ok
> #199 syntax.htm...            ok
> #200 syntax.htm...            ok
> #201 changeattr.htm...        ok
> #202 changeattr.htm...        ok
> #203 tagintag.htm...          ok
> #210 pod/pod.asc...           ok
> #232 app/i18n.htm...          ok
> #233 xhtml.htm...             ok
> #234 epform.htm...            ok
> #235 subreq.htm...            ok
>
> All test have been passed successfully!
>
> On Apr 20, 2004, at 11:39 PM, Gerald Richter wrote:
>
>> Hi,
>>
>> sorry I forgot to mention this. I also need the screen output of
>>
>> make test TESTARGS="-h -i"
>>
>> Gerald
>>
>> P.S. For the first look it looks like a problem of make test not of
>> Embperl
>> itself

---------------------------------------------------------------------------
Gerald Richter            ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
---------------------------------------------------------------------------
Besuchen Sie uns auf der KOMCOM 2004 in Mannheim
25. bis 27. Mai 2004  Stand K11a   www.komcom.de

ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------


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


Mime
View raw message