summaryrefslogtreecommitdiffstats
path: root/test/th5o.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2011-04-22 20:28:43 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2011-04-22 20:28:43 (GMT)
commit9f1262f9570b9e623f25f632d8730131897980ab (patch)
tree6ffb2308c71a54a0f19501f9b0eace80f2366d59 /test/th5o.c
parentcefb43df91f323fc341fb1aa9f46d25dd7f68e93 (diff)
downloadhdf5-9f1262f9570b9e623f25f632d8730131897980ab.zip
hdf5-9f1262f9570b9e623f25f632d8730131897980ab.tar.gz
hdf5-9f1262f9570b9e623f25f632d8730131897980ab.tar.bz2
[svn-r20610] OpenVMS complainted about a test case in th5o.c which opened the same file twice. VMS doesn't allow it. I used the macro H5_CANNOT_OPEN_TWICE to skip the test case. In th5s.c, I created an attribute but fogot to close it in the test case for zero dimension size.
Tested on jam. But I haven't tested on OpenVMS yet.
Diffstat (limited to 'test/th5o.c')
-rw-r--r--test/th5o.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/th5o.c b/test/th5o.c
index 70f8067..c46751e 100644
--- a/test/th5o.c
+++ b/test/th5o.c
@@ -1351,7 +1351,9 @@ test_h5o(void)
test_h5o_link(); /* Test object link routine */
test_h5o_comment(); /* Test routines for comment */
test_h5o_comment_by_name(); /* Test routines for comment by name */
+#ifndef H5_CANNOT_OPEN_TWICE /* OpenVMS can't open a file twice */
test_h5o_getinfo_same_file(); /* Test info for objects in the same file */
+#endif /* H5_CANNOT_OPEN_TWICE */
} /* test_h5o() */