summaryrefslogtreecommitdiffstats
path: root/test/tfile.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2017-03-15 03:58:21 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2017-03-15 03:58:21 (GMT)
commitecfdadfb1eff5ae8f18269e33dce3856e22f4bd7 (patch)
tree647c72a810b8879118b8f451ea6a563e3fa2099c /test/tfile.c
parentd0aeefd6455d6877afd934e238362636a86e4b42 (diff)
downloadhdf5-ecfdadfb1eff5ae8f18269e33dce3856e22f4bd7.zip
hdf5-ecfdadfb1eff5ae8f18269e33dce3856e22f4bd7.tar.gz
hdf5-ecfdadfb1eff5ae8f18269e33dce3856e22f4bd7.tar.bz2
Correct double sourcedir name on copied datafiles.
Diffstat (limited to 'test/tfile.c')
-rw-r--r--test/tfile.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/tfile.c b/test/tfile.c
index 295a29c..7edc40c 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -4465,10 +4465,8 @@ test_filespace_1_10_0_compatible(void)
MESSAGE(5, ("File space compatibility testing for 1.10.0 files\n"));
for(j = 0; j < NELMTS(OLD_1_10_0_FILENAME); j++) {
- const char *filename = H5_get_srcdir_filename(OLD_1_10_0_FILENAME[j]); /* Corrected test file name */
-
/* Make a copy of the test file */
- status = h5_make_local_copy(filename, FILE5);
+ status = h5_make_local_copy(OLD_1_10_0_FILENAME[j], FILE5);
CHECK(status, FAIL, "h5_make_local_copy");
/* Open the temporary test file */
@@ -4779,10 +4777,8 @@ test_filespace_round_compatible(void)
MESSAGE(5, ("File space compatibility testing for files from trunk to 1_8 to trunk\n"));
for(j = 0; j < NELMTS(FSPACE_FILENAMES); j++) {
- const char *filename = H5_get_srcdir_filename(FSPACE_FILENAMES[j]);
-
/* Make a copy of the test file */
- status = h5_make_local_copy(filename, FILE5);
+ status = h5_make_local_copy(FSPACE_FILENAMES[j], FILE5);
CHECK(status, FAIL, "h5_make_local_copy");
/* Open the temporary test file */