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