diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-08-15 18:56:16 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-08-15 18:56:16 (GMT) |
commit | 7e5bc5fbc7bdeeefa37bccd5124978d6b3e20a24 (patch) | |
tree | 48e641af6e51c143f58872f9aec949c39922af21 /test/tfile.c | |
parent | a62dc4271dd62eb7a211cbe84e2c0916c87af25a (diff) | |
download | hdf5-7e5bc5fbc7bdeeefa37bccd5124978d6b3e20a24.zip hdf5-7e5bc5fbc7bdeeefa37bccd5124978d6b3e20a24.tar.gz hdf5-7e5bc5fbc7bdeeefa37bccd5124978d6b3e20a24.tar.bz2 |
Fix test tmp dir usage
Diffstat (limited to 'test/tfile.c')
-rw-r--r-- | test/tfile.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/test/tfile.c b/test/tfile.c index fc5aee3..0fbc4e3 100644 --- a/test/tfile.c +++ b/test/tfile.c @@ -905,15 +905,15 @@ test_file_close(void) CHECK(ret, FAIL, "H5Pget_fclose_degree"); switch(fc_degree) { - case H5F_CLOSE_STRONG: + case H5F_CLOSE_STRONG: /* Close first open */ ret = H5Fclose(fid1); CHECK(ret, FAIL, "H5Fclose"); /* Close second open */ ret = H5Fclose(fid2); CHECK(ret, FAIL, "H5Fclose"); - break; - case H5F_CLOSE_SEMI: + break; + case H5F_CLOSE_SEMI: /* Close first open */ ret = H5Fclose(fid1); CHECK(ret, FAIL, "H5Fclose"); @@ -928,8 +928,8 @@ test_file_close(void) /* Close second open */ ret = H5Fclose(fid2); CHECK(ret, FAIL, "H5Fclose"); - break; - case H5F_CLOSE_WEAK: + break; + case H5F_CLOSE_WEAK: /* Close first open */ ret = H5Fclose(fid1); CHECK(ret, FAIL, "H5Fclose"); @@ -944,7 +944,7 @@ test_file_close(void) CHECK(ret, FAIL, "H5Gclose"); ret = H5Gclose(group_id3); CHECK(ret, FAIL, "H5Gclose"); - break; + break; case H5F_CLOSE_DEFAULT: default: CHECK(fc_degree, H5F_CLOSE_DEFAULT, "H5Pget_fclose_degree"); @@ -1595,7 +1595,6 @@ test_file_perm2(void) } /* end test_file_perm2() */ - /**************************************************************** ** ** test_file_ishdf5(): low-level file test routine. @@ -2164,10 +2163,8 @@ test_file_double_file_dataset_open(hbool_t new_format) MESSAGE(5, ("Testing double file and dataset open/close\n")); /* Setting up test file */ - fapl = H5Pcreate(H5P_FILE_ACCESS); CHECK(fapl, FAIL, "H5Pcreate"); - if(new_format) { ret = H5Pset_libver_bounds(fapl, H5F_LIBVER_LATEST, H5F_LIBVER_LATEST); CHECK(ret, FAIL, "H5Pset_libver_bounds"); |