Testing: Fix test for AppVeyor

This commit is contained in:
Shahram Najm 2021-08-16 10:48:00 +01:00
parent 863bf14e22
commit 2fec9b19c4
1 changed files with 14 additions and 13 deletions

View File

@ -53,8 +53,9 @@ if test "x$NC_DUMPER" != "x"; then
grep -q "short tp_0001" $tempText
fi
if [ $ECCODES_ON_WINDOWS -eq 0 ]; then
echo "Test HDF5 decoding ..."
# -------------------------
# ---------------------------
# Note: this is only available in NetCDF-4. So need to check if the command worked with -k3
input=${data_dir}/sample.grib2
set +e
@ -66,7 +67,7 @@ if [ $stat -eq 0 ]; then
res=`${tools_dir}/grib_get -TA -p identifier,versionNumberOfSuperblock $tempNetcdf`
[ "$res" = "HDF5 0" ]
fi
fi
grib_files="\
regular_latlon_surface.grib2 \