diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2009-04-17 15:30:17 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2009-04-17 15:30:17 (GMT) |
commit | ccb31223c4156ef0dbe025435ee859d9d76e64d8 (patch) | |
tree | e2483c9ea7f3281be3bd770a4cbe3148e53d79b6 /test/vfd.c | |
parent | ae8e8d9378afb42762133102cf60f46877b334eb (diff) | |
download | hdf5-ccb31223c4156ef0dbe025435ee859d9d76e64d8.zip hdf5-ccb31223c4156ef0dbe025435ee859d9d76e64d8.tar.gz hdf5-ccb31223c4156ef0dbe025435ee859d9d76e64d8.tar.bz2 |
[svn-r16778] A minor correction of previous checkin. The original files created with v1.6 library could
be deleted by cleanup routine. I corrected it in this checkin.
Tested on jam - simple change.
Diffstat (limited to 'test/vfd.c')
-rw-r--r-- | test/vfd.c | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -45,16 +45,14 @@ const char *FILENAME[] = { "sec2_file", "core_file", "family_file", - "family_v16_", "new_family_v16_", "multi_file", "direct_file", NULL }; -/* + #define COMPAT_BASENAME "family_v16_" -#define COMPAT_NEWNAME "new_family_v16_" -*/ + /*------------------------------------------------------------------------- * Function: test_sec2 @@ -177,7 +175,7 @@ test_direct(void) fapl = h5_fileaccess(); if(H5Pset_fapl_direct(fapl, MBOUNDARY, FBSIZE, CBSIZE) < 0) TEST_ERROR; - h5_fixname(FILENAME[6], fapl, filename, sizeof filename); + h5_fixname(FILENAME[5], fapl, filename, sizeof filename); /* Verify the file access properties */ if(H5Pget_fapl_direct(fapl, &mbound, &fbsize, &cbsize) < 0) @@ -826,8 +824,8 @@ test_family_compat(void) if(H5Pset_fapl_family(fapl, (hsize_t)FAMILY_SIZE2, H5P_DEFAULT) < 0) TEST_ERROR; - h5_fixname(FILENAME[3], fapl, filename, sizeof filename); - h5_fixname(FILENAME[4], fapl, newname, sizeof newname); + h5_fixname(COMPAT_BASENAME, fapl, filename, sizeof filename); + h5_fixname(FILENAME[3], fapl, newname, sizeof newname); pathname[0] = '\0'; /* Generate correct name for test file by prepending the source path */ @@ -1023,7 +1021,7 @@ test_multi(void) if(H5Pset_fapl_multi(fapl, memb_map, memb_fapl, memb_name, memb_addr, TRUE) < 0) TEST_ERROR; - h5_fixname(FILENAME[5], fapl, filename, sizeof filename); + h5_fixname(FILENAME[4], fapl, filename, sizeof filename); if((file=H5Fcreate(filename, H5F_ACC_TRUNC, H5P_DEFAULT, fapl)) < 0) TEST_ERROR; |