Bug 8391 - [PATCH] tests/*.c: Honor TESTDIR environment variable if set
Summary: [PATCH] tests/*.c: Honor TESTDIR environment variable if set
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.6.0
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Björn Jacke
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-22 05:24 UTC by SATOH Fumiyasu
Modified: 2023-01-09 23:06 UTC (History)
0 users

See Also:


Attachments
[PATCH] tests/*.c: Honor TESTDIR environment variable if set (1.97 KB, patch)
2011-08-22 05:24 UTC, SATOH Fumiyasu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description SATOH Fumiyasu 2011-08-22 05:24:15 UTC
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.
Comment 1 SATOH Fumiyasu 2012-12-18 05:47:54 UTC
ping
Comment 2 Björn Jacke 2023-01-09 23:06:03 UTC
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.