INN commit: trunk/tests/util (inndf.t)

Julien ÉLIE julien at trigofacile.com
Sat Sep 22 09:54:45 UTC 2007


Hi,

> df has special output on FreeBSD:
>
>    # df -i .
>    Filesystem  1K-blocks     Used   Avail Capacity iused   ifree %iused  Mounted on
>    /dev/da5s1d  69319818 55460910 8313324    87%  131509 8841801    1%   /
>
> Maybe on other systems too (but, well, let's wait for someone's
> complaining about the test suite not working on its system).


There is also one *last* (yup!) problem for the test suite on FreeBSD:

    # ./strerror.t
    5
    ok 1
    not ok 2
      wanted: Unknown error: 0
        seen: Undefined error: 0
    ok 3
    ok 4
    ok 5

It is the code:

    ok_string(2, strerror(0), test_strerror(0));

I do not know how to prevent that from happening.
(It works with another code than 0 but perhaps you want 0
to be put here.)

-- 
Julien ÉLIE

« Internet restera toujours un joujou pour les universitaires. » (1991) 



More information about the inn-workers mailing list