summaryrefslogtreecommitdiffstats
path: root/test/getname.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-11-07 17:06:42 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-11-07 17:06:42 (GMT)
commitde285fb90913bdc8a67f9a226de1b3d7ebd805db (patch)
treef484dd0c05c936beca33094365fbb956071e6a7c /test/getname.c
parentc17b59ac25391c0f8ad5d5778c07c2185c3cea2c (diff)
downloadhdf5-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/getname.c')
-rw-r--r--test/getname.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/getname.c b/test/getname.c
index 07e7bcf..5a6c176 100644
--- a/test/getname.c
+++ b/test/getname.c
@@ -818,7 +818,7 @@ int main( void )
/* Verify */
if(check_name(group_id, "/g14/g3/g4", "") < 0) TEST_ERROR;
- if(check_name(group2_id, "", "") < 0) TEST_ERROR;
+ if(check_name(group2_id, "/", "") < 0) TEST_ERROR;
/* Close */
H5Gclose( group_id );
@@ -860,7 +860,7 @@ int main( void )
if (H5Funmount(group2_id, ".")<0) TEST_ERROR;
/* Verify */
- if(check_name(group2_id, "", "") < 0) TEST_ERROR;
+ if(check_name(group2_id, "/", "") < 0) TEST_ERROR;
/* Close */
H5Gclose( group2_id );
@@ -902,7 +902,7 @@ int main( void )
if (H5Funmount(group2_id, ".")<0) TEST_ERROR;
/* Verify */
- if(check_name(group2_id, "", "") < 0) TEST_ERROR;
+ if(check_name(group2_id, "/", "") < 0) TEST_ERROR;
if(check_name(group3_id, "/g13/g1", "/g13/g1") < 0) TEST_ERROR;
/* Close */