diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-07 17:06:42 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-07 17:06:42 (GMT) |
commit | de285fb90913bdc8a67f9a226de1b3d7ebd805db (patch) | |
tree | f484dd0c05c936beca33094365fbb956071e6a7c /test/links.c | |
parent | c17b59ac25391c0f8ad5d5778c07c2185c3cea2c (diff) | |
download | hdf5-de285fb90913bdc8a67f9a226de1b3d7ebd805db.zip hdf5-de285fb90913bdc8a67f9a226de1b3d7ebd805db.tar.gz hdf5-de285fb90913bdc8a67f9a226de1b3d7ebd805db.tar.bz2 |
[svn-r12875] Description:
Fix retrieving name for references to root group.
Also, move 'ref' test earlier in testing, right after 'getname' test
Tested on:
Linux/64 2.6 (chicago2)
Diffstat (limited to 'test/links.c')
-rw-r--r-- | test/links.c | 2 |
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 |