From 585ebc0e001e12f9ca6c709e479226f175c3efff Mon Sep 17 00:00:00 2001 From: Ward Fisher Date: Wed, 20 Sep 2017 11:22:33 -0600 Subject: [PATCH] Corrected typos. --- ncdump/run_tests.sh | 4 ++-- ncdump/tst_64bit.sh | 12 +++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/ncdump/run_tests.sh b/ncdump/run_tests.sh index a07352f39..eb50747ed 100755 --- a/ncdump/run_tests.sh +++ b/ncdump/run_tests.sh @@ -16,9 +16,9 @@ ${NCDUMP} tst_small.nc > tst_small.cdl diff -b -w tst_small.cdl $srcdir/ref_tst_small.cdl echo "*** creating test0_ncdump.nc from test0.cdl..." -${NCGEN} -o tst0_ncdump.nc -b $srcdir/test0.cdl +${NCGEN} -o test0_ncdump.nc -b $srcdir/test0.cdl echo "*** creating test1_ncdump.cdl from test0_ncdump.nc..." -${NCDUMP} -n test1 test0_ncdump.nc > test1_ncdump.cdl +${NCDUMP} -n test1_ncdump test0_ncdump.nc > test1_ncdump.cdl echo "*** creating test1_ncdump.nc from test1_ncdump.cdl..." ${NCGEN} -b test1_ncdump.cdl echo "*** creating test2_ncdump.cdl from test1_ncdump.nc..." diff --git a/ncdump/tst_64bit.sh b/ncdump/tst_64bit.sh index 444d74b1b..838dabfcd 100755 --- a/ncdump/tst_64bit.sh +++ b/ncdump/tst_64bit.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -e + if test "x$srcdir" = x ; then srcdir=`pwd`; fi . ../test_common.sh @@ -22,9 +24,9 @@ set -e echo "*** creating test0_offset.nc from test0.cdl..." ${NCGEN} -b -k2 -o test0_offset.nc $srcdir/test0.cdl echo "*** creating test1_offset.cdl from test0_offset.nc..." -${NCDUMP} -n test1 test0_offset.nc > test1_offset.cdl +${NCDUMP} -n test1_offset test0_offset.nc > test1_offset.cdl echo "*** creating test1_offset.nc from test1_offset.cdl..." -${NCGEN} -b -k2 -o test1_offset.nc test1.cdl +${NCGEN} -b -k2 -o test1_offset.nc test1_offset.cdl echo "*** creating test2_offset.cdl from test1.nc..." ${NCDUMP} test1_offset.nc > test2_offset.cdl cmp test1_offset.cdl test2_offset.cdl @@ -36,11 +38,11 @@ echo "" echo "*** Testing ncgen and ncdump with CDF5 format." set -e echo "*** creating test0_cdf5.nc from test0.cdl..." -${NCGEN} -b -k5 -O test0_cdf5.nc $srcdir/test0.cdl +${NCGEN} -b -k5 -o test0_cdf5.nc $srcdir/test0.cdl echo "*** creating test1_cdf5.cdl from test0_cdf5.nc..." -${NCDUMP} -n test1 test0_cdf5.nc > test1_cdf5.cdl +${NCDUMP} -n test1_cdf5 test0_cdf5.nc > test1_cdf5.cdl echo "*** creating test1_cdf5.nc from test1_cdf5.cdl..." -${NCGEN} -b -k5 -o test1_cdf5.nc test1.cdl +${NCGEN} -b -k5 -o test1_cdf5.nc test1_cdf5.cdl echo "*** creating test2_cdf5.cdl from test1_cdf5.nc..." ${NCDUMP} test1_cdf5.nc > test2_cdf5.cdl cmp test1_cdf5.cdl test2_cdf5.cdl