summaryrefslogtreecommitdiffstats
path: root/test/tfile.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-08-08 18:41:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-08-08 18:41:35 (GMT)
commit502b4c206d238dff6bdca09075ffeb426a365a9e (patch)
treecbe48af2cf27d0ddb9a57d3828245b4428221320 /test/tfile.c
parentc5781c8289ad4abc83073f5b53a20179169eb59c (diff)
downloadhdf5-502b4c206d238dff6bdca09075ffeb426a365a9e.zip
hdf5-502b4c206d238dff6bdca09075ffeb426a365a9e.tar.gz
hdf5-502b4c206d238dff6bdca09075ffeb426a365a9e.tar.bz2
[svn-r11215] Purpose:
Bug fix & code cleanup Description: Fix another bug in the file mounting code and refactor the unmount code that it is simpler. Platforms tested: FreeBSD 4.11 (sleipnir) Linux 2.4 Too minor to require h5committest
Diffstat (limited to 'test/tfile.c')
-rw-r--r--test/tfile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/tfile.c b/test/tfile.c
index 05a0765..ece7cdb 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -576,6 +576,10 @@ test_file_close(void)
ret = H5Fclose(fid2);
VERIFY(ret, FAIL, "H5Fclose");
+ /* Same check with H5Idec_ref() (should fail also) */
+ ret = H5Idec_ref(fid2);
+ VERIFY(ret, FAIL, "H5Idec_ref");
+
ret = H5Gclose(group_id3);
CHECK(ret, FAIL, "H5Gclose");