summaryrefslogtreecommitdiffstats
path: root/test/links.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/links.c')
-rw-r--r--test/links.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/links.c b/test/links.c
index 64ef6c0..9fa4221 100644
--- a/test/links.c
+++ b/test/links.c
@@ -1626,7 +1626,7 @@ external_link_root(hid_t fapl, hbool_t new_format)
/* Check name */
if((name_len = H5Iget_name( gid, objname, (size_t)NAME_BUF_SIZE )) < 0) TEST_ERROR
- if(name_len != 0) TEST_ERROR
+ if(HDstrcmp(objname, "/")) TEST_ERROR
/* Create object in external file */
if((gid2 = H5Gcreate(gid, "new_group", (size_t)0)) < 0) TEST_ERROR