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.