summaryrefslogtreecommitdiffstats
path: root/test/trefer.c
diff options
context:
space:
mode:
authorVailin Choi <vchoi@jam.ad.hdfgroup.org>2019-12-05 21:09:23 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:19 (GMT)
commit44e8fe048b692950efd70b020a413791e4621f10 (patch)
treefc31afdd0bcb0edae6d75c6ba640010fad11bfdd /test/trefer.c
parent1ece440e78fe8ca67f4cbd84be7e55b9275e0af3 (diff)
downloadhdf5-44e8fe048b692950efd70b020a413791e4621f10.zip
hdf5-44e8fe048b692950efd70b020a413791e4621f10.tar.gz
hdf5-44e8fe048b692950efd70b020a413791e4621f10.tar.bz2
Two fixes:
(1) Set the version for reference datatype messge to H5O_DTYPE_VERSION_4. (2) Verify the decoded version for hyperslab selection.
Diffstat (limited to 'test/trefer.c')
-rw-r--r--test/trefer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/trefer.c b/test/trefer.c
index 7791ca1..a27dbc5 100644
--- a/test/trefer.c
+++ b/test/trefer.c
@@ -2811,7 +2811,7 @@ test_reference(void)
for(high = H5F_LIBVER_EARLIEST; high < H5F_LIBVER_NBOUNDS; high++) {
/* Invalid combinations, just continue */
- if(high == H5F_LIBVER_EARLIEST || high < low)
+ if(high <= H5F_LIBVER_V112 || high < low)
continue;
test_reference_region(low, high); /* Test basic H5R dataset region reference code */