2010-06-03 21:24:43 +08:00
|
|
|
#!/bin/sh
|
2015-04-21 03:08:26 +08:00
|
|
|
|
2017-03-09 08:01:10 +08:00
|
|
|
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
|
|
|
|
. ../test_common.sh
|
2015-04-21 03:08:26 +08:00
|
|
|
|
2017-03-09 08:01:10 +08:00
|
|
|
# This shell script runs an ncdump bug test for netcdf-4
|
2015-04-21 03:08:26 +08:00
|
|
|
|
2010-06-03 21:24:43 +08:00
|
|
|
echo ""
|
|
|
|
echo "*** Running ncdump bug test."
|
|
|
|
|
2017-11-17 04:03:35 +08:00
|
|
|
${execdir}/tst_fillbug
|
2012-06-13 05:50:02 +08:00
|
|
|
# echo "*** dumping tst_fillbug.nc to tst_fillbug.cdl..."
|
2017-03-09 08:01:10 +08:00
|
|
|
${NCDUMP} tst_fillbug.nc > tst_fillbug.cdl
|
2012-06-13 05:50:02 +08:00
|
|
|
# echo "*** comparing tst_fillbug.cdl with ref_tst_fillbug.cdl..."
|
2012-05-09 03:36:27 +08:00
|
|
|
diff -b tst_fillbug.cdl $srcdir/ref_tst_fillbug.cdl
|
2010-06-03 21:24:43 +08:00
|
|
|
|
|
|
|
echo "*** All ncdump bug test output for netCDF-4 format passed!"
|
|
|
|
exit 0
|