From 8921cbc80267db8bf168e1fa9acb974721fa68da Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Tue, 7 Jun 2005 23:44:13 -0500 Subject: [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 --- test/file_handle.c | 5 +++-- 1 file 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))) { -- cgit v0.12