1#!/bin/sh 2 3if test "x$srcdir" = x ; then srcdir=`pwd`; fi 4. ../test_common.sh 5 6# This shell script runs an ncdump bug test for netcdf-4 7 8echo "" 9echo "*** Running ncdump bug test." 10 11${execdir}/tst_fillbug 12# echo "*** dumping tst_fillbug.nc to tst_fillbug.cdl..." 13${NCDUMP} tst_fillbug.nc > tst_fillbug.cdl 14# echo "*** comparing tst_fillbug.cdl with ref_tst_fillbug.cdl..." 15diff -b tst_fillbug.cdl $srcdir/ref_tst_fillbug.cdl 16 17echo "*** All ncdump bug test output for netCDF-4 format passed!" 18exit 0 19