#! /bin/sh
#
# 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.
#
# Tests for the H5check_version function.
#
# Programmer: Albert Cheng
# Sep 28, 2009
srcdir=@srcdir@
# Variables filled in by the configure process.
# Determine the configure options of the hdf5 library and executables.
Shared_Lib=@enable_shared@
Static_Lib=@enable_static@
Static_exec=@STATIC_EXEC@
h5haveexitcode=yes # default is yes
CMP='cmp -s'
DIFF='diff -c'
RM='rm -f'
# Function definitions
#
# Show the purpose of this test script and a note about the abort messages.
PURPOSE() {
echo "Tests for the H5check_version function."
echo "Note that abort messages may appear due to the expected termination"
echo "of the program when it is tested with mis-matched version numnbers."
}
# Print a line-line message left justified in a field of 70 characters.
#
LINEMSG() {
SPACES=" "
echo "$* $SPACES" | cut -c1-70 | tr -d '\012'
}
# Print a "SKIP" message
SKIP() {