diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-10-09 19:24:40 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-10-09 19:24:40 (GMT) |
commit | 356f15512249de605e409d2977b0f9f26437b64f (patch) | |
tree | badfc1c13050bc1e4f3670fd7d2db91e6137f4e2 /testpar/t_dset.c | |
parent | 30a3aee50d29bc1cb8db1a4c88aff07757e00be4 (diff) | |
parent | 9a074a6679fa08b6aa07cc9d2599c51ddb22f514 (diff) | |
download | hdf5-356f15512249de605e409d2977b0f9f26437b64f.zip hdf5-356f15512249de605e409d2977b0f9f26437b64f.tar.gz hdf5-356f15512249de605e409d2977b0f9f26437b64f.tar.bz2 |
[svn-r25687] merge from trunk.
Diffstat (limited to 'testpar/t_dset.c')
-rw-r--r-- | testpar/t_dset.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/testpar/t_dset.c b/testpar/t_dset.c index 2bc3b09..281b1c0 100644 --- a/testpar/t_dset.c +++ b/testpar/t_dset.c @@ -4365,6 +4365,11 @@ test_dense_attr(void) hid_t atFileSpace, atid; hsize_t atDims[1] = {10000}; herr_t status; + const char *filename; + + /* get filename */ + filename = (const char *)GetTestParameters(); + HDassert( filename != NULL ); /* set up MPI parameters */ MPI_Comm_size(MPI_COMM_WORLD,&mpi_size); @@ -4376,7 +4381,7 @@ test_dense_attr(void) VRFY((status >= 0), "H5Pset_libver_bounds succeeded"); status = H5Pset_fapl_mpio(fpid, MPI_COMM_WORLD, MPI_INFO_NULL); VRFY((status >= 0), "H5Pset_fapl_mpio succeeded"); - fid = H5Fcreate("ph5Dense.h5", H5F_ACC_TRUNC, H5P_DEFAULT, fpid); + fid = H5Fcreate(filename, H5F_ACC_TRUNC, H5P_DEFAULT, fpid); VRFY((fid > 0), "H5Fcreate succeeded"); status = H5Pclose(fpid); VRFY((status >= 0), "H5Pclose succeeded"); |