mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
Further sh compatibility.
This commit is contained in:
parent
40a929575c
commit
ffc448deb4
@ -9,9 +9,9 @@ set -e
|
||||
echo "test_raw.sh:"
|
||||
|
||||
# Compute the set of testfiles
|
||||
PUSHD ${srcdir}/daptestfiles
|
||||
cd ${srcdir}/daptestfiles
|
||||
F=`ls -1d *.dap`
|
||||
POPD
|
||||
cd -
|
||||
F=`echo $F | tr '\r\n' ' '`
|
||||
F=`echo $F | sed -e s/.dap//g`
|
||||
|
||||
@ -54,12 +54,12 @@ for f in $F ; do
|
||||
failure "diff ${f}.dmp"
|
||||
fi
|
||||
elif test "x${RESET}" = x1 ; then
|
||||
echo "${f}:"
|
||||
echo "${f}:"
|
||||
cp ./results_test_raw/${f}.dmp ${BASELINERAW}/${f}.dmp
|
||||
elif test "x${DIFF}" = x1 ; then
|
||||
echo "hdrtest: ${f}"
|
||||
rm -f ./tr1 ./tr2 ./tb1 ./tb2
|
||||
baseclean
|
||||
baseclean
|
||||
if ! diff -wBb ./${BASELINERAW}/${f}.dmp ./${BASELINE}/${f}.ncdump ; then
|
||||
failure diff -wBb ./${BASELINERAW}/${f}.dmp ./${BASELINE}/${f}.ncdump
|
||||
fi
|
||||
@ -68,4 +68,3 @@ done
|
||||
rm -rf ./results_test_raw
|
||||
|
||||
finish
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user