netcdf-c/ncdap_test/tst_ber.sh

20 lines
327 B
Bash
Raw Normal View History

#!/bin/sh
2017-07-17 03:13:10 +08:00
export SETX=1
export NCPATHDEBUG=1
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh
2017-07-15 09:37:35 +08:00
F="ber-2002-10-01.nc"
2017-07-16 09:16:45 +08:00
EXPECTED="${srcdir}/expected3"
2017-07-15 09:37:35 +08:00
URL='[log][cache]file://'
2017-07-16 09:16:45 +08:00
URL="${URL}${srcdir}/testdata3/$F"
2017-07-15 09:37:35 +08:00
rm -f ./tmp
${NCDUMP} "${URL}" >./tmp
diff -w ${EXPECTED}/$F.dmp ./tmp
2017-07-16 10:21:24 +08:00
#cleanup
rm -f ./tmp
2017-07-15 09:37:35 +08:00
exit