Source
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/***********************************************************
*
* Test program: tverbounds18
*
* Test 1.8 compatibility with version bounds
*
* Description
* ===========
* This file tests the compatibility in the files generated
* by gen_bounds.c in HDF5 1.10.2:
* - bounds_earliest_latest.h5
* - bounds_earliest_v18.h5
* - bounds_latest_latest.h5
* - bounds_v18_latest.h5
* - bounds_v18_v18.h5
*
* Oct 30, 2017
*
*************************************************************/
/***********************************************************************
* test_earliest_latest() reads file "bounds_earliest_latest.h5"
*
* Description:
* This test shows that the 1.8 library is able to open a chunked dataset
* with layout version 3 in a file with superblock version 0.
* However, it cannot open the chunked dataset with layout version 4
* in the same file.
*
***********************************************************************/
static void test_earliest_latest(void)
{
hid_t fid = FAIL; /* File ID */