Updated shell script to work on Windows.

This commit is contained in:
Ward Fisher 2015-01-30 11:04:57 -07:00 committed by Ward Fisher
parent b1d3304bee
commit f9d3718739

View File

@ -16,7 +16,7 @@ echo "Test extended format output for a netcdf-3 file"
rm -f tmp
../ncgen/ncgen -k nc3 -b -o ./test.nc $srcdir/ref_tst_small.cdl
./ncdump -K test.nc >tmp
if ! fgrep 'classic mode=00000000' <tmp ; then
if ! grep 'classic mode=00000000' <tmp ; then
echo "*** Fail: extended format for a classic file"
ECODE=1
fi
@ -25,7 +25,7 @@ echo "Test extended format output for a 64-bit netcdf-3 file"
rm -f tmp
../ncgen/ncgen -k nc6 -b -o ./test.nc $srcdir/ref_tst_small.cdl
./ncdump -K test.nc >tmp
if ! fgrep '64-bit offset mode=00000200' <tmp ; then
if ! grep '64-bit offset mode=00000200' <tmp ; then
echo "*** Fail: extended format for a 64-bit classic file"
ECODE=1
fi