You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Blair Zajac <bl...@orcaware.com> on 2002/12/13 23:05:39 UTC

testall results on IRIX

Ryan,

Thought you might be interested in these APR HEAD test results
on IRIX:

% uname -a
IRIX64 6.5 IP27 mips
% ./testall -v
All APR Tests:
    Strings:                  ....
    Time:                     ............
    Versioning:               ..
    IP subnets:               .....
    MMAP:                     .......
    User Data:                ....
    Table:                    .........
    Hash:                     ..............
    Sleep:                    .
    Pools:                    ......
    Formats:                  .....
    File I/O:                 ....................
    File Info:                ...
    Pipes:                    .....
    File duplication:         ....
    Directory:                ...F.........F
    Random:                   N
    DSO:                      FFFFFFFF.
    Other Child:              .
    Socket Creation:          ..NN.
    Socket Options:           ....N.
    Process control:          ...
    Poll:                     .....................
    Thread Locks:             ....
    Threads:                  .....
    Getopt:                   ......
    Path names:               ...........
    Users:                    ...

190 tests run:  176 passed, 10 failed, 4 not implemented.
Failed tests in Directory:
1) test_removeall_fail: expected <1> but was <0>
2) test_uncleared_errno: expected <0> but was <17>
Failed tests in DSO:
1) test_load_module: 682442:./testall: rld: Fatal Error: Cannot
Successfully map soname '/tmp/apr/test/.libs/mod_test.so' under any
of the filenames /tmp/apr/test/.libs/mod_test.so
2) test_dso_sym: 682442:./testall: rld: Fatal Error: Cannot Successfully
map soname '/tmp/apr/test/.libs/mod_test.so' under any of the filenames
/tmp/apr/test/.libs/mod_test.so
3) test_dso_sym_return_value: 682442:./testall: rld: Fatal Error: Cannot
Successfully map soname '/tmp/apr/test/.libs/mod_test.so' under any of the
filenames /tmp/apr/test/.libs/mod_test.so
4) test_unload_module: 682442:./testall: rld: Fatal Error: Cannot
Successfully map soname 
'/tmp/apr/test/.libs/mod_test.so' under any of the filenames
/tmp/apr/test/.libs/mod_test.so
5) test_load_non_module: 682442:./testall: rld: Fatal Error: Cannot
Successfully map soname
'/tmp/apr/test/.libs/libmod_test.so' under any of the filenames
/tmp/apr/test/.libs/libmod_test.so
6) test_dso_sym_non_module: 682442:./testall: rld: Fatal Error:
Cannot Successfully map soname
'/tmp/apr/test/.libs/libmod_test.so' under any of the filenames
/tmp/apr/test/.libs/libmod_test.so
7) test_dso_sym_return_value_non_mod: 682442:./testall: rld: Fatal
Error: Cannot Successfully map soname
'/tmp/apr/test/.libs/libmod_test.so' under any of the filenames
/tmp/apr/test/.libs/libmod_test.so
8) test_unload_non_module: 682442:./testall: rld: Fatal Error:
Cannot Successfully map soname
'/tmp/apr/test/.libs/libmod_test.so' under any of the filenames
/tmp/apr/test/.libs/libmod_test.so

Not Implemented tests in Random:
1) rand_exists: apr_generate_random_bytes not implemented on this platform

Not Implemented tests in Socket Creation:
1) tcp6_socket: IPv6 not implemented on this platform
2) udp6_socket: IPv6 not implemented on this platform

Not Implemented tests in Socket Options:
1) corkable: TCP isn't corkable not implemented on this platform

Re: testall results on IRIX

Posted by rb...@apache.org.

On Fri, 13 Dec 2002, Joe Orton wrote:

> On Fri, Dec 13, 2002 at 03:40:51PM -0800, Ryan Bloom wrote:
> >
> > On Fri, 13 Dec 2002, Blair Zajac wrote:
> >
> > >     Directory:                ...F.........F
> > >     Random:                   N
> > >     DSO:                      FFFFFFFF.
> >
> > <.....>
> >
> > > 190 tests run:  176 passed, 10 failed, 4 not implemented.
> > > Failed tests in Directory:
> > > 1) test_removeall_fail: expected <1> but was <0>
> > > 2) test_uncleared_errno: expected <0> but was <17>
> >
> > These two bother me.
>
> Yeah, those two fail on most Unixes other than Linux and BSDs, e.g.
> Solaris gets:
>
> 1) test_removeall_fail: expected <1> but was <0>
> 2) test_uncleared_errno: expected <1> but was <0>

These are both failing for the same reason on Solaris.  We are trying to
remove a non-empty directory.  According to the man pages, this should
fail.  However, the error code that is being returned is different.  Linux
and FreeBSD both return ENOTEMPTY.  Solaris returns EEXIST.  This should
be as easy as changing APR_STATUS_IS_ENOTEMPTY to check for both ENOTEMPTY
and EEXIST.  I'll try it later tonight.

Ryan


Re: testall results on IRIX

Posted by Joe Orton <jo...@manyfish.co.uk>.
On Fri, Dec 13, 2002 at 03:40:51PM -0800, Ryan Bloom wrote:
> 
> On Fri, 13 Dec 2002, Blair Zajac wrote:
> 
> >     Directory:                ...F.........F
> >     Random:                   N
> >     DSO:                      FFFFFFFF.
> 
> <.....>
> 
> > 190 tests run:  176 passed, 10 failed, 4 not implemented.
> > Failed tests in Directory:
> > 1) test_removeall_fail: expected <1> but was <0>
> > 2) test_uncleared_errno: expected <0> but was <17>
> 
> These two bother me.

Yeah, those two fail on most Unixes other than Linux and BSDs, e.g.
Solaris gets:

1) test_removeall_fail: expected <1> but was <0>
2) test_uncleared_errno: expected <1> but was <0>




Re: testall results on IRIX

Posted by rb...@apache.org.
Thanks Blair!  This actually looks pretty good.  A couple of comments
below.


On Fri, 13 Dec 2002, Blair Zajac wrote:

>     Directory:                ...F.........F
>     Random:                   N
>     DSO:                      FFFFFFFF.

<.....>

> 190 tests run:  176 passed, 10 failed, 4 not implemented.
> Failed tests in Directory:
> 1) test_removeall_fail: expected <1> but was <0>
> 2) test_uncleared_errno: expected <0> but was <17>

These two bother me.

> Failed tests in DSO:
> 1) test_load_module: 682442:./testall: rld: Fatal Error: Cannot
> Successfully map soname '/tmp/apr/test/.libs/mod_test.so' under any
> of the filenames /tmp/apr/test/.libs/mod_test.so
> 2) test_dso_sym: 682442:./testall: rld: Fatal Error: Cannot Successfully
> map soname '/tmp/apr/test/.libs/mod_test.so' under any of the filenames
> /tmp/apr/test/.libs/mod_test.so
> 3) test_dso_sym_return_value: 682442:./testall: rld: Fatal Error: Cannot
> Successfully map soname '/tmp/apr/test/.libs/mod_test.so' under any of the
> filenames /tmp/apr/test/.libs/mod_test.so
> 4) test_unload_module: 682442:./testall: rld: Fatal Error: Cannot
> Successfully map soname
> '/tmp/apr/test/.libs/mod_test.so' under any of the filenames
> /tmp/apr/test/.libs/mod_test.so
> 5) test_load_non_module: 682442:./testall: rld: Fatal Error: Cannot
> Successfully map soname
> '/tmp/apr/test/.libs/libmod_test.so' under any of the filenames
> /tmp/apr/test/.libs/libmod_test.so
> 6) test_dso_sym_non_module: 682442:./testall: rld: Fatal Error:
> Cannot Successfully map soname
> '/tmp/apr/test/.libs/libmod_test.so' under any of the filenames
> /tmp/apr/test/.libs/libmod_test.so
> 7) test_dso_sym_return_value_non_mod: 682442:./testall: rld: Fatal
> Error: Cannot Successfully map soname
> '/tmp/apr/test/.libs/libmod_test.so' under any of the filenames
> /tmp/apr/test/.libs/libmod_test.so
> 8) test_unload_non_module: 682442:./testall: rld: Fatal Error:
> Cannot Successfully map soname
> '/tmp/apr/test/.libs/libmod_test.so' under any of the filenames
> /tmp/apr/test/.libs/libmod_test.so

All of these look like a build problem instead of a code problem.  Can you
make sure that you actually have a /tmp/apr/test/.libs/libmod_test.so.  If
not, we need to figure out why not.

It would be great to get some of the not implemented features implemented
on IRIX, but those aren't as important as the stuff above.

> Not Implemented tests in Random:
> 1) rand_exists: apr_generate_random_bytes not implemented on this platform
>
> Not Implemented tests in Socket Creation:
> 1) tcp6_socket: IPv6 not implemented on this platform
> 2) udp6_socket: IPv6 not implemented on this platform
>
> Not Implemented tests in Socket Options:
> 1) corkable: TCP isn't corkable not implemented on this platform
>

Ryan