summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVailin Choi <vchoi@jam.ad.hdfgroup.org>2019-07-18 15:20:56 (GMT)
committerVailin Choi <vchoi@jam.ad.hdfgroup.org>2019-07-18 15:20:56 (GMT)
commit378ed8bebfe709156b24aacbf8013de1a776c04e (patch)
tree99e6b0cbdd28f15e6abf4e84a4d2e77934d60e00 /test
parent4af15717e234560a1167dfc92c15986f9cb4f123 (diff)
downloadhdf5-378ed8bebfe709156b24aacbf8013de1a776c04e.zip
hdf5-378ed8bebfe709156b24aacbf8013de1a776c04e.tar.gz
hdf5-378ed8bebfe709156b24aacbf8013de1a776c04e.tar.bz2
Change "bad" hid_t_value to H5I_INVALID_HID in test_libver_bounds_copy() test.
Diffstat (limited to 'test')
-rw-r--r--test/tfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tfile.c b/test/tfile.c
index 340b03f..a73d3e4 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -5128,11 +5128,11 @@ test_libver_bounds_copy(void)
/* Open the source test file */
src_fid = H5Fopen(src_fname, H5F_ACC_RDONLY, H5P_DEFAULT);
- CHECK(src_fid, FAIL, "H5Fopen");
+ CHECK(src_fid, H5I_INVALID_HID, "H5Fopen");
/* Create file access property list */
fapl = H5Pcreate(H5P_FILE_ACCESS);
- CHECK(fapl, FAIL, "H5Pcreate");
+ CHECK(fapl, H5I_INVALID_HID, "H5Pcreate");
/* Set library version bounds to (v18, v18) */
ret = H5Pset_libver_bounds(fapl, H5F_LIBVER_V18, H5F_LIBVER_V18);
@@ -5140,7 +5140,7 @@ test_libver_bounds_copy(void)
/* Create the destination file with the fapl */
dst_fid = H5Fcreate(DST_FILE, H5F_ACC_TRUNC, H5P_DEFAULT, fapl);
- CHECK(dst_fid, FAIL, "H5Pcreate");
+ CHECK(dst_fid, H5I_INVALID_HID, "H5Pcreate");
/* Close the fapl */
ret = H5Pclose(fapl);