I am updating proftpd and need some advice.

The program builds, installs, and runs fine.  The problem is the internal tests.

   http://www.proftpd.org/docs/howto/Testing.html

It needs check and the perl Test-Unit Perl package.  The current version is 
Test-Unit-0.25, but this program requires Test-Unit-0.14.  I made the mistake 
of 
using Test-Unit-0.25 and got:

Test Summary Report
-------------------
t/commands/port.t               (Wstat: 0 Tests: 16 Failed: 1)
   Failed test:  14
t/commands/abor.t               (Wstat: 0 Tests: 14 Failed: 2)
   Failed tests:  3-4
t/config/deleteabortedstores.t  (Wstat: 0 Tests: 4 Failed: 2)
   Failed tests:  3-4
t/config/displayfiletransfer.t  (Wstat: 0 Tests: 6 Failed: 3)
   Failed tests:  1, 3-4
t/config/hidenoaccess.t         (Wstat: 0 Tests: 4 Failed: 1)
   Failed test:  1
t/config/showsymlinks.t         (Wstat: 0 Tests: 40 Failed: 14)
   Failed tests:  1-8, 33-34, 37-40
t/config/trace.t                (Wstat: 0 Tests: 6 Failed: 2)
   Failed tests:  5-6
t/config/ftpaccess/empty.t      (Wstat: 0 Tests: 2 Failed: 1)
   Failed test:  1
t/logging/extendedlog.t         (Wstat: 0 Tests: 56 Failed: 2)
   Failed tests:  49-50
t/utils/ftpcount.t              (Wstat: 0 Tests: 2 Failed: 2)
   Failed tests:  1-2
t/utils/ftpwho.t                (Wstat: 0 Tests: 4 Failed: 4)
   Failed tests:  1-4
Files=133, Tests=1089, 2325 wallclock secs ( 0.54 usr  0.13 sys + 22.06 cusr 
18.34 csys = 41.07 CPU)
Result: FAIL
Failed 11/133 test programs. 34/1089 subtests failed.

These tests take a long time to run.  (38 Minutes but the cpu was idle a lot)

In order to install Test-Unit-0.25, I had to force it.  It seems that it 
doesn't 
pass some of it's own tests: 
http://deps.cpantesters.org/?module=Test%3A%3AUnit%3A%3AHarnessUnit;perl=latest

(BTW, %3A is a colon but that a reserved character in a url)

I don't want to put an old version of a perl module in the book.  How do I 
address this in the book?   External reference to Test-Unit-0.14 and a note 
that 
it is an older version?  Note that several tests fail with Test-Unit-0.25?
Recommend skipping the tests?

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to