summaryrefslogtreecommitdiffstats
path: root/test/tid.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-12-26 05:28:18 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-12-26 05:28:18 (GMT)
commit83929ea716220890e41f923566aa5c89e8e735d3 (patch)
tree22193da0d9129fc7c06a57db35b2f4a57458cf50 /test/tid.c
parentdb551ec15e771b4536c35cc6f3eabb7d28681510 (diff)
downloadhdf5-83929ea716220890e41f923566aa5c89e8e735d3.zip
hdf5-83929ea716220890e41f923566aa5c89e8e735d3.tar.gz
hdf5-83929ea716220890e41f923566aa5c89e8e735d3.tar.bz2
[svn-r11838] Purpose:
Bug fix Description: Retrieving an object's name could fail (in various ways) under certain circumstances (mostly having to do with mounted files). Solution: Re-write & simplify "get object name" code to fix error in a better way than adding yet another hack to the previous pile of hacks... :-) Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
Diffstat (limited to 'test/tid.c')
-rw-r--r--test/tid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tid.c b/test/tid.c
index bc1aec0..b9ed9c3 100644
--- a/test/tid.c
+++ b/test/tid.c
@@ -110,7 +110,7 @@ static int basic_id_test(void)
testSize = H5Iget_name(arrayID, nameString, 9);
H5E_END_TRY
- VERIFY(testSize, 0, "H5Iget_name");
+ VERIFY(testSize, -1, "H5Iget_name");
if(testSize != 0)
goto out;