summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2002-09-30 21:51:05 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2002-09-30 21:51:05 (GMT)
commit8410a8536536ad6bdde5f09e643a9123df555460 (patch)
tree4684a484d6e75974dd83655f942d01524d5df719 /test
parenta4bb3150b8c6847891129a7c6fe1d7551dd80d27 (diff)
downloadhdf5-8410a8536536ad6bdde5f09e643a9123df555460.zip
hdf5-8410a8536536ad6bdde5f09e643a9123df555460.tar.gz
hdf5-8410a8536536ad6bdde5f09e643a9123df555460.tar.bz2
[svn-r5954]
Purpose: a bug fix Description: When a file is opened for a second time, file close degree is supposed to be either the same as the first open, or default as the first open is also default. Platforms tested: Linux 2.2(eirene), Solaris 2.7(arabica), IRIX64 6.5(modi4)
Diffstat (limited to 'test')
-rw-r--r--test/tfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tfile.c b/test/tfile.c
index 07f8976..27b3601 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -511,7 +511,7 @@ test_file_close(void)
fid2 = H5Fopen(FILE1, H5F_ACC_RDWR, fapl_id);
VERIFY(fid2, FAIL, "H5Fopen");
- ret = H5Pset_fclose_degree(fapl_id, H5F_CLOSE_WEAK);
+ ret = H5Pset_fclose_degree(fapl_id, H5F_CLOSE_DEFAULT);
CHECK(ret, FAIL, "H5Pset_fclose_degree");
/* should succeed */