mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
835511eaeb
re: github netcdf-c issue #271 This occurs for several reasons, including: 1. using H5Aopen_name instead of H5Aexists to test if attribute exists. 2. using H5Eset_auto instead of H5Eset_auto2. There are probably others that will have to be extinguished as encountered. p.s Hope I did not overdo this and kill too much.
27 lines
446 B
Bash
Executable File
27 lines
446 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if test "x$builddir" = "x"; then builddir=`pwd`; fi
|
|
if test "x$srcdir" = "x"; then srcdir=`dirname $0`; fi
|
|
|
|
# Make buildir absolute
|
|
cd $builddir
|
|
builddir=`pwd`
|
|
|
|
set -e
|
|
|
|
echo "*** Testing phony dimension creation on pure h5 file"
|
|
rm -f ./tmp
|
|
if ../ncdump/ncdump -L0 -K ${srcdir}/tdset.h5 >./tmp ; then
|
|
echo "*** Pass: phony dimension creation"
|
|
ECODE=0
|
|
else
|
|
echo "*** Fail: phony dimension creation"
|
|
ECODE=1
|
|
fi
|
|
|
|
rm -f tmp
|
|
|
|
exit $ECODE
|
|
|
|
|