Created attachment 6795 [details] [PATCH] tests/*.c: Honor TESTDIR environment variable if set If I do Samba 3 `./configure` for AIX on a local filesystem, tests/readlink.c fails and the configure set HAVE_BROKEN_READLINK. This result is normal on AIX. On the other hand, If I do Samba 3 `./configure` for AIX on a Linux NFS, tests/readlink.c does NOT fail and the configure does NOT set HAVE_BROKEN_READLINK. This is why I've made an attached patch to use a specific $TESTDIR for tests/*.c.
ping
I think this is a too special case and we don't want to introduce the additional complexity. If you know that remote filesystems habe different bugs than the local filesystems on AIX, then you should just do the build in the local filesystem or patch the specific define to the desired value.