summaryrefslogtreecommitdiffstats
path: root/test/tid.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tid.c')
-rw-r--r--test/tid.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/tid.c b/test/tid.c
index 662064f..1f30a4f 100644
--- a/test/tid.c
+++ b/test/tid.c
@@ -513,7 +513,7 @@ test_id_type_list(void)
/* Sanity check */
if ((int)startType >= H5I_MAX_NUM_TYPES || startType < H5I_NTYPES) {
/* Error condition, throw an error */
- CHECK(1, 1, "H5Iregister_type");
+ ERROR("H5Iregister_type");
goto out;
}
/* Create types up to H5I_MAX_NUM_TYPES */
@@ -705,7 +705,7 @@ test_remove_clear_type(void)
/* Create an array to hold the objects in the master list */
list_size = RCT_MAX_NOBJS * sizeof(rct_obj_t);
obj_list.objects = HDmalloc(list_size);
- CHECK(obj_list.objects, NULL, "HDcalloc");
+ CHECK_PTR(obj_list.objects, "HDcalloc");
if (NULL == obj_list.objects)
goto error;
@@ -718,7 +718,7 @@ test_remove_clear_type(void)
hsize_t nmembers = 1234567;
/* The number of objects found while scanning through the object list */
- unsigned found;
+ int found;
/*********************
* Build object list *
@@ -1080,7 +1080,7 @@ test_future_ids(void)
VERIFY(*actual_obj2, 7, "H5Iobject_verify");
if (7 != *actual_obj2)
goto error;
- VERIFY(actual_obj, actual_obj2, "H5Iobject_verify");
+ CHECK_PTR_EQ(actual_obj, actual_obj2, "H5Iobject_verify");
if (actual_obj != actual_obj2)
goto error;
@@ -1131,7 +1131,7 @@ test_future_ids(void)
VERIFY(*actual_obj2, 7, "H5Iobject_verify");
if (7 != *actual_obj2)
goto error;
- VERIFY(actual_obj, actual_obj2, "H5Iobject_verify");
+ CHECK_PTR_EQ(actual_obj, actual_obj2, "H5Iobject_verify");
if (actual_obj != actual_obj2)
goto error;