summaryrefslogtreecommitdiffstats
path: root/test/tmisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tmisc.c')
-rw-r--r--test/tmisc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tmisc.c b/test/tmisc.c
index 869557c..76b2745 100644
--- a/test/tmisc.c
+++ b/test/tmisc.c
@@ -2678,8 +2678,8 @@ test_misc15(void)
CHECK(ret, FAIL, "H5Fclose");
/* Verify that the file is still OK */
- ret = H5Fis_hdf5(MISC15_FILE);
- CHECK(ret, FAIL, "H5Fis_hdf5");
+ ret = H5Fis_accessible(MISC15_FILE, H5P_DEFAULT);
+ CHECK(ret, FAIL, "H5Fis_accessible");
file = H5Fopen(MISC15_FILE, H5F_ACC_RDONLY, H5P_DEFAULT);
CHECK(file, FAIL, "H5Fopen");