mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
Updated shell script to work on Windows.
This commit is contained in:
parent
b1d3304bee
commit
f9d3718739
@ -16,7 +16,7 @@ echo "Test extended format output for a netcdf-3 file"
|
|||||||
rm -f tmp
|
rm -f tmp
|
||||||
../ncgen/ncgen -k nc3 -b -o ./test.nc $srcdir/ref_tst_small.cdl
|
../ncgen/ncgen -k nc3 -b -o ./test.nc $srcdir/ref_tst_small.cdl
|
||||||
./ncdump -K test.nc >tmp
|
./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"
|
echo "*** Fail: extended format for a classic file"
|
||||||
ECODE=1
|
ECODE=1
|
||||||
fi
|
fi
|
||||||
@ -25,7 +25,7 @@ echo "Test extended format output for a 64-bit netcdf-3 file"
|
|||||||
rm -f tmp
|
rm -f tmp
|
||||||
../ncgen/ncgen -k nc6 -b -o ./test.nc $srcdir/ref_tst_small.cdl
|
../ncgen/ncgen -k nc6 -b -o ./test.nc $srcdir/ref_tst_small.cdl
|
||||||
./ncdump -K test.nc >tmp
|
./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"
|
echo "*** Fail: extended format for a 64-bit classic file"
|
||||||
ECODE=1
|
ECODE=1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user