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-07-15 09:37:35 +08:00
|
|
|
rm -f ./tmp
|
2017-07-27 03:35:27 +08:00
|
|
|
${NCDUMP} "${URL}" | sed 's/\\r//g' > ./tmp
|
2017-07-15 09:37:35 +08:00
|
|
|
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
|