bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fchownat test on AIX 7.1BETA


From: Rainer Tammer
Subject: Re: fchownat test on AIX 7.1BETA
Date: Sat, 31 Jul 2010 09:34:14 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6

Hello Bruno,

Bruno Haible wrote:
> Hi Rainer,
>
> Regarding this test failure:
>
>   test-chown.h:88: assertion failed
>   FAIL: test-fchownat
>
> What's the output if you change test-chown.h at line 87 like this:
>
>   ASSERT (func (BASE "dir/file/", -1, -1) == -1);
>   { int err = errno; fprintf (stderr, "errno = %d\n", err); errno = err; 
> perror (""); } /* INSERT THIS LINE */
>   ASSERT (errno == ENOTDIR);
>
>   
IOT/Abort trap in raise at 0xd0120f40
0xd0120f40 (raise+0x60) 80410014         lwz   r2,0x14(r1)
(dbx) where
raise(??) at 0xd0120f40
abort() at 0xd016d9e4
test_chown(func = 0x20000d50, print = 1), line 88 in "test-chown.h"
main(), line 70 in "test-fchownat.c"
(dbx) print errno
0

The fchownat() is also new to AIX 7BETA, it's probably the same problem
as with linkat().
Do I get it right: The fchownat() should fail in this case?

> Bruno
>
>
>   

bye
  Rainer



reply via email to

[Prev in Thread] Current Thread [Next in Thread]