netcdf-c/ncdap_test/tst_ber.sh

20 lines
311 B
Bash
Raw Normal View History

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