Assaf Gordon wrote: > based on the code in test-symlink.h, perhaps lustre returns an > unexpected errno ? > > line 69: ASSERT (func ("nowhere", BASE "dir/") == -1); > > line 70: ASSERT (errno == EEXIST || errno == EINVAL);
Yes, this is most likely the cause. Can you please insert this line between line 69 and line 70 fprintf(stderr,"INSERTED errno=%d\n",errno); fflush(stderr); then do make clean make make check and report the output and contents of test-symlink.log ? Lustre contains a number of kernel patches [1]; this can surely modify the behaviour of system calls. Bruno [1] http://lustre.org/download/