[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: linkat test on AIX 7.1BETA
From: |
Rainer Tammer |
Subject: |
Re: linkat test on AIX 7.1BETA |
Date: |
Sat, 31 Jul 2010 09:25:08 +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:
> Hello Rainer,
>
> Regarding this test failure:
>
> test-link.h:117: assertion failed
> FAIL: test-linkat
>
> What's the output when you change test-link.h like this at line 116:
>
> ASSERT (func (BASE "a/", BASE "c") == -1);
> { int err = errno; fprintf (stderr, "errno = %d\n", err); errno = err;
> perror (""); } /* INSERT THIS LINE */
> ASSERT (errno == ENOTDIR);
>
>
This does not work as the whole thing traps in the assert()...
But I can use dbx:
IOT/Abort trap in raise at 0xd0120f40
0xd0120f40 (raise+0x60) 80410014 lwz r2,0x14(r1)
(dbx) where
raise(??) at 0xd0120f40
abort() at 0xd016d9e4
test_link(func = 0x200009a0, print = 1), line 117 in "test-link.h"
main(), line 89 in "test-linkat.c"
(dbx) print errno
0
(dbx)
There is a second trap:
ASSERT (func (BASE "a", BASE "c/") == -1);
I have checked the return of func(), its 0.
The return value 0 is success and -1 should be failure.
The linkat() function seems to be new to AIX 7BETA and apparently this
new linkat() has some bugs... :-((
> Bruno
>
>
>
bye
Rainer
- Re: dirfd on AIX 7.1BETA, (continued)
- iconv test on AIX 7.1BETA, Bruno Haible, 2010/07/30
- Re: iconv test on AIX 7.1BETA, Rainer Tammer, 2010/07/31
- Re: iconv test on AIX 7.1BETA, Bruno Haible, 2010/07/31
- Re: iconv test on AIX 7.1BETA, Rainer Tammer, 2010/07/31
- Re: iconv test on AIX 7.1BETA, Bruno Haible, 2010/07/31
- Re: iconv test on AIX 7.1BETA, Rainer Tammer, 2010/07/31
- linkat test on AIX 7.1BETA, Bruno Haible, 2010/07/30
- Re: linkat test on AIX 7.1BETA,
Rainer Tammer <=
- Re: linkat test on AIX 7.1BETA, Bruno Haible, 2010/07/31
- Re: linkat test on AIX 7.1BETA, Rainer Tammer, 2010/07/31
- Re: linkat test on AIX 7.1BETA, Bruno Haible, 2010/07/31
- fchownat test on AIX 7.1BETA, Bruno Haible, 2010/07/30
- Re: fchownat test on AIX 7.1BETA, Rainer Tammer, 2010/07/31
- Re: fchownat test on AIX 7.1BETA, Bruno Haible, 2010/07/31
- Re: fchownat test on AIX 7.1BETA, Rainer Tammer, 2010/07/31
- Re: fchownat test on AIX 7.1BETA, Bruno Haible, 2010/07/31
- utimens, utimensat tests on AIX 7.1BETA, Bruno Haible, 2010/07/30
- Re: utimens, utimensat tests on AIX 7.1BETA, Eric Blake, 2010/07/30