On Wed, 12 Oct 2005, Christopher H. Laco wrote:

Philip M. Gollucci wrote:
[ ... ]
The other test is because the executable name doesn't match.
Randy committed Steve's patch for this and this will be in RC2 and 2.0.2
release.
t/directive/perldo.t                           16    1   6.25%  12
# testing : $0
# expected: (?-xism:httpd)
# received: /usr/sbin/apache2
not ok 12

Cool!

Actually, I think the above failure requires a further
patch - the one I committed was to allow for Apache.exe
to be the name of the binary, but apparently for this
one also has to accept "apache2" as the name. The
following diff from the current svn should work:

=====================================================
Index: t/response/TestDirective/perldo.pm
===================================================================
--- t/response/TestDirective/perldo.pm  (revision 315047)
+++ t/response/TestDirective/perldo.pm  (working copy)
@@ -40,7 +40,7 @@
     ok $TestDirective::perl::line > 3;

     ok !t_cmp($0, '-e', '$0');
-    ok t_cmp($0, qr/httpd|apache\.exe/i, '$0');
+    ok t_cmp($0, qr/httpd|apache\.exe|apache2/i, '$0');

     ok t_cmp($TestDirective::perl::Included, 1, "Include");

============================================================
--
best regards,
randy

Reply via email to