Re: linkat test on AIX 7.1BETA

2010-07-31 Thread Rainer Tammer
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

Re: linkat test on AIX 7.1BETA

2010-07-31 Thread Bruno Haible
Hello Rainer, test-link.h:117: assertion failed FAIL: test-linkat test_link(func = 0x29a0, print = 1), line 117 in test-link.h main(), line 89 in test-linkat.c ... There is a second trap: ASSERT (func (BASE a, BASE c/) == -1); I have checked the return of func(), its 0. Can

Re: linkat test on AIX 7.1BETA

2010-07-31 Thread Rainer Tammer
Hello Bruno, Bruno Haible wrote: Hello Rainer, test-link.h:117: assertion failed FAIL: test-linkat test_link(func = 0x29a0, print = 1), line 117 in test-link.h main(), line 89 in test-linkat.c ... There is a second trap: ASSERT (func (BASE a, BASE c/) == -1); I

Re: linkat test on AIX 7.1BETA

2010-07-31 Thread Bruno Haible
Rainer Tammer wrote: AIX 7BETA: # ./testme ret = 0 ret = 0 Yup. The expected result, as on Linux, is: ret = -1 errno = 20 Not a directory ret = -1 errno = 2 No such file or directory I'm applying the patch below. Eric, if you don't agree, feel free to modify, tweak, or revert it. P.S.: I

linkat test on AIX 7.1BETA

2010-07-30 Thread Bruno Haible
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 (); }