Added a small test file.

This commit is contained in:
Ward Fisher 2017-11-20 13:52:20 -07:00
parent e8af76c2f4
commit b11f6b4dea

17
ncdump/tst_null_byte_padding.sh Executable file
View File

@ -0,0 +1,17 @@
#!/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."
${NCDUMP} ref_null_byte_padding_test.nc
echo "Passed."
exit 0