summaryrefslogtreecommitdiffstats
path: root/test/ohdr.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2014-07-21 16:58:13 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2014-07-21 16:58:13 (GMT)
commit35de6099e0c9a785d534044655c47aa33cd766b5 (patch)
tree800d4b6280afcec6ba3e41e252432ffab4376fd4 /test/ohdr.c
parent52ceb04b1f1fd6598a8e7b2f7083e59a969e50a5 (diff)
downloadhdf5-35de6099e0c9a785d534044655c47aa33cd766b5.zip
hdf5-35de6099e0c9a785d534044655c47aa33cd766b5.tar.gz
hdf5-35de6099e0c9a785d534044655c47aa33cd766b5.tar.bz2
[svn-r25452] realign tests with trunk.
Diffstat (limited to 'test/ohdr.c')
-rw-r--r--test/ohdr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ohdr.c b/test/ohdr.c
index 8c1a4b1..502a8b1 100644
--- a/test/ohdr.c
+++ b/test/ohdr.c
@@ -73,7 +73,7 @@ test_cont(char *filename, hid_t fapl)
/* Create the file to operate on */
if((file = H5Fcreate(filename, H5F_ACC_TRUNC, H5P_DEFAULT, fapl)) < 0) TEST_ERROR
- if(NULL == (f = (H5F_t *)H5I_object_verify(file, H5I_FILE))) FAIL_STACK_ERROR
+ if(NULL == (f = (H5F_t *)H5I_object(file))) FAIL_STACK_ERROR
if (H5AC_ignore_tags(f) < 0) {
H5_FAILED();
H5Eprint2(H5E_DEFAULT, stdout);
@@ -200,7 +200,7 @@ test_ohdr_cache(char *filename, hid_t fapl)
FAIL_STACK_ERROR
if(H5Pclose(my_fapl) < 0)
FAIL_STACK_ERROR
- if(NULL == (f = (H5F_t *)H5I_object_verify(file, H5I_FILE)))
+ if(NULL == (f = (H5F_t *)H5I_object(file)))
FAIL_STACK_ERROR
if(H5AC_ignore_tags(f) < 0)
FAIL_STACK_ERROR
@@ -348,7 +348,7 @@ main(void)
/* Create the file to operate on */
if((file = H5Fcreate(filename, H5F_ACC_TRUNC, H5P_DEFAULT, fapl)) < 0)
TEST_ERROR
- if(NULL == (f = (H5F_t *)H5I_object_verify(file, H5I_FILE)))
+ if(NULL == (f = (H5F_t *)H5I_object(file)))
FAIL_STACK_ERROR
if (H5AC_ignore_tags(f) < 0) {
H5_FAILED();
@@ -449,7 +449,7 @@ main(void)
FAIL_STACK_ERROR
if((file = H5Fopen(filename, H5F_ACC_RDWR, fapl)) < 0)
FAIL_STACK_ERROR
- if(NULL == (f = (H5F_t *)H5I_object_verify(file, H5I_FILE)))
+ if(NULL == (f = (H5F_t *)H5I_object(file)))
FAIL_STACK_ERROR
if (H5AC_ignore_tags(f) < 0)
FAIL_STACK_ERROR