summaryrefslogtreecommitdiffstats
path: root/test/reserved.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2021-05-07 02:48:58 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2021-05-07 02:48:58 (GMT)
commit7a5b440fa89538b94088cc89a1188aef27033e74 (patch)
tree2ee57d411d75cf7b74595722a5653e0842e6db68 /test/reserved.c
parentf2cb86499efa2fe6f44ca2f4e93ea62e952d0fb0 (diff)
downloadhdf5-7a5b440fa89538b94088cc89a1188aef27033e74.zip
hdf5-7a5b440fa89538b94088cc89a1188aef27033e74.tar.gz
hdf5-7a5b440fa89538b94088cc89a1188aef27033e74.tar.bz2
Brings H5Z and many test changes from develop
Diffstat (limited to 'test/reserved.c')
-rw-r--r--test/reserved.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/reserved.c b/test/reserved.c
index 1ea73a6..6e41a16 100644
--- a/test/reserved.c
+++ b/test/reserved.c
@@ -126,7 +126,7 @@ rsrv_heap(void)
/* If we can read a dataset from the file, the file has been flushed to disk
* (if the heap or object headers weren't flushed, the file would be empty).
*/
- if (dataset_id == H5I_BADID)
+ if (dataset_id == H5I_INVALID_HID)
TEST_ERROR;
if (H5Dclose(dataset_id) < 0)
@@ -268,7 +268,7 @@ rsrv_ohdr(void)
/* If we can read the dataset from the file, the file has been flushed to disk
* (if the heap or object headers weren't flushed, the file would be empty).
*/
- if (dataset_id == H5I_BADID)
+ if (dataset_id == H5I_INVALID_HID)
TEST_ERROR;
if (H5Dclose(dataset_id) < 0)
@@ -432,7 +432,7 @@ rsrv_vlen(void)
/* If we can read the dataset from the file, the file has been flushed to disk
* (if the heap or object headers weren't flushed, the file would be empty).
*/
- if (dataset_id == H5I_BADID)
+ if (dataset_id == H5I_INVALID_HID)
TEST_ERROR;
if (H5Dclose(dataset_id) < 0)