diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-06-08 04:44:13 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-06-08 04:44:13 (GMT) |
commit | 8921cbc80267db8bf168e1fa9acb974721fa68da (patch) | |
tree | 2c9829b5733d178b2e313d97d9351b28ec3b238a /test | |
parent | b35cc529d139561313b83ed96e5c39e93436a648 (diff) | |
download | hdf5-8921cbc80267db8bf168e1fa9acb974721fa68da.zip hdf5-8921cbc80267db8bf168e1fa9acb974721fa68da.tar.gz hdf5-8921cbc80267db8bf168e1fa9acb974721fa68da.tar.bz2 |
[svn-r10873] Purpose:
Bug fix
Description:
Tweaks to make new family file compatibility tests work in non-srcdir
(i.e. "inplace") builds.
Platforms tested:
FreeBSD 4.11 (sleipnir) w & w/o srcdir
Too minor to require h5committest
Diffstat (limited to 'test')
-rw-r--r-- | test/file_handle.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/file_handle.c b/test/file_handle.c index 0951ede..ad3de5a 100644 --- a/test/file_handle.c +++ b/test/file_handle.c @@ -33,10 +33,11 @@ const char *FILENAME[] = { "core_file", "family_file", "multi_file", - "family_v1.6_", NULL }; +#define COMPAT_BASENAME "family_v1.6_" + /*------------------------------------------------------------------------- * Function: test_sec2 @@ -468,7 +469,7 @@ test_family_compat(void) if(H5Pset_fapl_family(fapl, (hsize_t)FAMILY_SIZE2, H5P_DEFAULT)<0) goto error; - h5_fixname(FILENAME[4], fapl, filename, sizeof filename); + h5_fixname(COMPAT_BASENAME, fapl, filename, sizeof filename); /* Generate correct name for test file by prepending the source path */ if(srcdir && ((strlen(srcdir) + strlen(filename) + 1) < sizeof(pathname))) { |