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
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
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
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
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
(); }