2017-07-15 06:38:50 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
2017-07-18 08:58:45 +08:00
|
|
|
#export NCPATHDEBUG=1
|
2017-07-15 06:38:50 +08:00
|
|
|
|
|
|
|
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-11-18 01:49:06 +08:00
|
|
|
rm -f ./tmp_tst_ber
|
|
|
|
${NCDUMP} "${URL}" | sed 's/\\r//g' > ./tmp_tst_ber
|
|
|
|
diff -w ${EXPECTED}/$F.dmp ./tmp_tst_ber
|
2017-07-16 10:21:24 +08:00
|
|
|
#cleanup
|
2017-11-18 01:49:06 +08:00
|
|
|
rm -f ./tmp_tst_ber
|
2017-07-15 09:37:35 +08:00
|
|
|
exit
|