diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2013-07-31 19:49:32 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2013-07-31 19:49:32 (GMT) |
commit | 3e071dc0510b8e482207380b0a55a9fd1422f088 (patch) | |
tree | c2a7f4e57b1d8aff07687d7be697ae802215f7ad /c++ | |
parent | 769649c1001b72e28376607f9e774a1187388f8f (diff) | |
download | hdf5-3e071dc0510b8e482207380b0a55a9fd1422f088.zip hdf5-3e071dc0510b8e482207380b0a55a9fd1422f088.tar.gz hdf5-3e071dc0510b8e482207380b0a55a9fd1422f088.tar.bz2 |
[svn-r23955] Description:
Close a group in test_dset, before the file can be properly closed.
This should fix the problem on OpenVMS.
Platforms tested:
Linux/32 2.6 (jam) with GNU compilers
SunOS 5.11 (emu)
Diffstat (limited to 'c++')
-rw-r--r-- | c++/test/dsets.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/c++/test/dsets.cpp b/c++/test/dsets.cpp index 1416a08..cbf1f57 100644 --- a/c++/test/dsets.cpp +++ b/c++/test/dsets.cpp @@ -1071,6 +1071,9 @@ void test_dset() nerrors += test_multiopen (file)<0 ?1:0; nerrors += test_types(file)<0 ?1:0; + // Close group "emit diagnostics". + grp.close(); + // Close the file before testing data size. file.close(); nerrors += test_datasize(fapl) <0 ? 1:0; |