On 12/22/2010 08:31 AM, Bruno Haible wrote: > On OSF/1 5.1, I get these test failures: > > test-rename.h:342: assertion failed > sh: 366977 Abort - core dumped > FAIL: test-rename > > test-rename.h:342: assertion failed > sh: 366978 Abort - core dumped > FAIL: test-renameat > > The reason are different errno values. The following patch fixes it for me. > OK to commit, or do you want to change the rename replacement to produce > one of the expected errno values?
The patch to relax the testsuite looks okay to me; we're already allowing other non-standard errno values here, so no one has complained about it causing an actual problem in portability. > - ASSERT (errno == EINVAL || errno == EBUSY); > + ASSERT (errno == EINVAL || errno == EBUSY || errno == EEXIST); -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature