summaryrefslogtreecommitdiffstats
path: root/hl/test
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2006-08-14 16:18:28 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2006-08-14 16:18:28 (GMT)
commit0f61afce1cc9286e0da761d60f0c0db51423db32 (patch)
tree04c46c8276655eefa07cf8bc674c31d5df86d104 /hl/test
parent89f36d62b776ef955eed82a109b83a187ef115bb (diff)
downloadhdf5-0f61afce1cc9286e0da761d60f0c0db51423db32.zip
hdf5-0f61afce1cc9286e0da761d60f0c0db51423db32.tar.gz
hdf5-0f61afce1cc9286e0da761d60f0c0db51423db32.tar.bz2
[svn-r12576] Added funtions to query the "current position" for Packet Tables in C and C++.
Diffstat (limited to 'hl/test')
-rw-r--r--hl/test/test_packet.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/hl/test/test_packet.c b/hl/test/test_packet.c
index 7c7ab2c..375763b 100644
--- a/hl/test/test_packet.c
+++ b/hl/test/test_packet.c
@@ -789,6 +789,10 @@ static int test_error(hid_t fid)
goto out;
if(H5PTcreate_index(id) >= 0)
goto out;
+ if(H5PTset_index(id, 1) >= 0)
+ goto out;
+ if(H5PTget_index(id, NULL) >= 0)
+ goto out;
H5E_END_TRY
/* Open a high-level non-packet (H5TB) table and try to */
@@ -810,6 +814,10 @@ static int test_error(hid_t fid)
goto out;
if(H5PTcreate_index(id) >= 0)
goto out;
+ if(H5PTset_index(id, 1) >= 0)
+ goto out;
+ if(H5PTget_index(id, NULL) >= 0)
+ goto out;
H5E_END_TRY
id_open=0;
@@ -836,6 +844,10 @@ static int test_error(hid_t fid)
goto out;
if(H5PTcreate_index(id) >= 0)
goto out;
+ if(H5PTset_index(id, 1) >= 0)
+ goto out;
+ if(H5PTget_index(id, NULL) >= 0)
+ goto out;
H5E_END_TRY
PASSED();