apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <...@apache.org>
Subject Re: testall results on IRIX
Date Sat, 14 Dec 2002 00:04:47 GMT


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


Mime
View raw message