diff options
Diffstat (limited to 'hl/test/test_packet.c')
-rw-r--r-- | hl/test/test_packet.c | 12 |
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(); |