mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r2864] Purpose:
Additional testing. Description: Verify that calling H5Rget_obj_type with a region reference fails. Platforms tested: FreeBSD 4.1.1 (hawkwind)
This commit is contained in:
parent
2047b4fc44
commit
b20fa011c2
@ -427,6 +427,10 @@ test_reference_region(void)
|
||||
dset2 = H5Rdereference(dset1,H5R_DATASET_REGION,&rbuf[0]);
|
||||
CHECK(dset2, FAIL, "H5Rdereference");
|
||||
|
||||
/* Check what H5Rget_object_type function returns */
|
||||
ret = H5Rget_object_type(dset1, &rbuf[0]);
|
||||
VERIFY(ret, H5G_UNKNOWN, "H5Rget_object_type");
|
||||
|
||||
/* Check information in referenced dataset */
|
||||
sid1 = H5Dget_space(dset2);
|
||||
CHECK(sid1, FAIL, "H5Dget_space");
|
||||
|
Loading…
x
Reference in New Issue
Block a user