diff options
Diffstat (limited to 'test/ttime.c')
-rw-r--r-- | test/ttime.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/ttime.c b/test/ttime.c index 927d68a..37e0b5e 100644 --- a/test/ttime.c +++ b/test/ttime.c @@ -81,8 +81,8 @@ test_time_commit(void) file_id = H5Fopen(DATAFILE, H5F_ACC_RDWR, H5P_DEFAULT); CHECK(file_id, FAIL, "H5Fopen"); - tid = H5Topen(file_id, "Committed D32LE type"); - CHECK(tid, FAIL, "H5Topen"); + tid = H5Topen2(file_id, "Committed D32LE type", H5P_DEFAULT); + CHECK(tid, FAIL, "H5Topen2"); if(!H5Tequal(tid, H5T_UNIX_D32LE)) TestErrPrintf("H5T_UNIX_D32LE datatype not found\n"); @@ -90,8 +90,8 @@ test_time_commit(void) status = H5Tclose (tid); CHECK(status, FAIL, "H5Tclose"); - tid = H5Topen(file_id, "Committed D32BE type"); - CHECK(tid, FAIL, "H5Topen"); + tid = H5Topen2(file_id, "Committed D32BE type", H5P_DEFAULT); + CHECK(tid, FAIL, "H5Topen2"); if(!H5Tequal(tid, H5T_UNIX_D32BE)) TestErrPrintf("H5T_UNIX_D32BE datatype not found\n"); @@ -99,8 +99,8 @@ test_time_commit(void) status = H5Tclose (tid); CHECK(status, FAIL, "H5Tclose"); - tid = H5Topen(file_id, "Committed D64LE type"); - CHECK(tid, FAIL, "H5Topen"); + tid = H5Topen2(file_id, "Committed D64LE type", H5P_DEFAULT); + CHECK(tid, FAIL, "H5Topen2"); if(!H5Tequal(tid, H5T_UNIX_D64LE)) TestErrPrintf("H5T_UNIX_D64LE datatype not found"); @@ -108,8 +108,8 @@ test_time_commit(void) status = H5Tclose (tid); CHECK(status, FAIL, "H5Tclose"); - tid = H5Topen(file_id, "Committed D64BE type"); - CHECK(tid, FAIL, "H5Topen"); + tid = H5Topen2(file_id, "Committed D64BE type", H5P_DEFAULT); + CHECK(tid, FAIL, "H5Topen2"); if(!H5Tequal(tid, H5T_UNIX_D64BE)) TestErrPrintf("H5T_UNIX_D64BE datatype not found"); |