mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
19 lines
619 B
Bash
19 lines
619 B
Bash
|
#!/bin/sh
|
||
|
# This shell script runs the ncdump tests.
|
||
|
# $Id: tst_64bit.sh,v 1.9 2006/03/04 18:50:15 ed Exp $
|
||
|
|
||
|
echo ""
|
||
|
echo "*** Testing ncgen and ncdump with 64-bit offset format."
|
||
|
set -e
|
||
|
echo "*** creating test0.nc from test0.cdl..."
|
||
|
../ncgen/ncgen -b -v2 $srcdir/test0.cdl
|
||
|
echo "*** creating test1.cdl from test0.nc..."
|
||
|
./ncdump -n test1 test0.nc > test1.cdl
|
||
|
echo "*** creating test1.nc from test1.cdl..."
|
||
|
../ncgen/ncgen -b -v2 test1.cdl
|
||
|
echo "*** creating test2.cdl from test1.nc..."
|
||
|
./ncdump test1.nc > test2.cdl
|
||
|
cmp test1.cdl test2.cdl
|
||
|
echo "*** All ncgen and ncdump with 64-bit offset format tests passed!"
|
||
|
exit 0
|