diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-29 13:07:55 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-29 13:07:55 (GMT) |
commit | 010e44125b730d1cba401f2b58908695068dd488 (patch) | |
tree | 9631bb168d977a20ed3cf4043a7584259f2996e6 /test | |
parent | 468e38c9e7d82f7cd388f4cd5374525040ce9514 (diff) | |
download | hdf5-010e44125b730d1cba401f2b58908695068dd488.zip hdf5-010e44125b730d1cba401f2b58908695068dd488.tar.gz hdf5-010e44125b730d1cba401f2b58908695068dd488.tar.bz2 |
[svn-r18666] Description:
Switch H5Rget_obj_type to H5Rget_obj_type2.
Tested on:
Linux/64 2.4 (amani) w/PGI compiler
Diffstat (limited to 'test')
-rw-r--r-- | test/trefer.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/trefer.c b/test/trefer.c index 39ae330..6ee298f 100644 --- a/test/trefer.c +++ b/test/trefer.c @@ -190,13 +190,13 @@ test_reference_params(void) dset2 = H5Rdereference(dataset, H5R_MAXTYPE, &rbuf[0]); VERIFY(dset2, FAIL, "H5Rdereference type"); - /* Test parameters to H5Rget_obj_type */ - ret = H5Rget_obj_type(-1, H5R_OBJECT, &rbuf[0], NULL); - VERIFY(ret, FAIL, "H5Rget_obj_type loc_id"); - ret = H5Rget_obj_type(fid1, H5R_OBJECT, NULL, NULL); - VERIFY(ret, FAIL, "H5Rget_obj_type ref"); - ret = H5Rget_obj_type(fid1, H5R_MAXTYPE, &rbuf[0], NULL); - VERIFY(ret, FAIL, "H5Rget_obj_type type"); + /* Test parameters to H5Rget_obj_type2 */ + ret = H5Rget_obj_type2(-1, H5R_OBJECT, &rbuf[0], NULL); + VERIFY(ret, FAIL, "H5Rget_obj_type2 loc_id"); + ret = H5Rget_obj_type2(fid1, H5R_OBJECT, NULL, NULL); + VERIFY(ret, FAIL, "H5Rget_obj_type2 ref"); + ret = H5Rget_obj_type2(fid1, H5R_MAXTYPE, &rbuf[0], NULL); + VERIFY(ret, FAIL, "H5Rget_obj_type2 type"); /* Test parameters to H5Rget_name */ name_size = H5Rget_name(-1, H5R_DATASET_REGION, &rbuf[0], NULL, 0); |