summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-12-07 02:51:54 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-12-07 02:51:54 (GMT)
commitfda704377ebca6f980d7e842935977bb45f34d34 (patch)
tree6055a171c97afb62157e3f61f6bf8942dd9bab26 /test
parentfb1059e507cab041e2fd6bf294b12843a1ddf1c7 (diff)
downloadhdf5-fda704377ebca6f980d7e842935977bb45f34d34.zip
hdf5-fda704377ebca6f980d7e842935977bb45f34d34.tar.gz
hdf5-fda704377ebca6f980d7e842935977bb45f34d34.tar.bz2
[svn-r17971] Description:
Allow the core VFD to properly support opening backing store files through symbolic links and have the external links in the file be treated in the same way as for the sec2 driver. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.6.2 (amazon) in debug mode Mac OS X/32 10.6.2 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
Diffstat (limited to 'test')
-rw-r--r--test/links.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/links.c b/test/links.c
index 84d2542..deae5ef 100644
--- a/test/links.c
+++ b/test/links.c
@@ -6434,10 +6434,11 @@ external_symlink(const char *env_h5_drvr, hid_t fapl, hbool_t new_format)
TESTING("external links w/symlink files")
#ifdef H5_HAVE_SYMLINK
- /* Skip test when using VFDs that have their own 'alloc' callback, which
- * don't push mis-aligned space fragments on the file free space list
+ /* Skip test when using VFDs that can't provide a POSIX compatible file
+ * descriptor.
*/
have_posix_compat_vfd = (hbool_t)(!HDstrcmp(env_h5_drvr, "sec2")
+ || !HDstrcmp(env_h5_drvr, "core")
|| !HDstrcmp(env_h5_drvr, "nomatch"));
if(have_posix_compat_vfd) {
/* set up name for main file: "extlinks21A" */