summaryrefslogtreecommitdiffstats
path: root/test/getname.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/getname.c')
-rw-r--r--test/getname.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/getname.c b/test/getname.c
index 200c426..ba33280 100644
--- a/test/getname.c
+++ b/test/getname.c
@@ -1526,7 +1526,7 @@ test_main(hid_t file_id, hid_t fapl)
{
char name[NAME_BUF_SIZE]; /* Buffer to hold name and its size */
- /* Get name for non commited datatype, it should fail */
+ /* Get name for non committed datatype, it should fail */
H5E_BEGIN_TRY
{
if (H5Iget_name(type_id, name, NAME_BUF_SIZE) > 0)
@@ -3775,8 +3775,12 @@ main(void)
/* Call "main" test routine */
nerrors += test_main(file_id, fapl);
- nerrors += test_obj_ref(fapl);
- nerrors += test_reg_ref(fapl);
+
+ if (!h5_using_parallel_driver(NULL)) {
+ nerrors += test_obj_ref(fapl);
+ nerrors += test_reg_ref(fapl);
+ }
+
nerrors += test_elinks(fapl);
/* Close file */