netcdf-c/ncdump/tst_null_byte_padding.sh

18 lines
421 B
Bash
Raw Normal View History

2017-11-21 04:52:20 +08:00
#!/bin/sh
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh
# This shell script tests a file which doesn't adhere to the
# documented null-byte padding for header information.
# See https://github.com/Unidata/netcdf-c/issues/657 for more info.
set -e
echo ""
echo "*** Testing compatibility with non-null-byte padded test file."
2017-11-22 03:17:32 +08:00
${NCDUMP} $srcdir/ref_null_byte_padding_test.nc
2017-11-21 04:52:20 +08:00
echo "Passed."
exit 0