diff --git a/tests/grib_to_netcdf.sh b/tests/grib_to_netcdf.sh index 87d695b87..b4ec08deb 100755 --- a/tests/grib_to_netcdf.sh +++ b/tests/grib_to_netcdf.sh @@ -80,7 +80,9 @@ if test "x$NC_DUMPER" != "x"; then ${NC_DUMPER} -t -v time $tempNetcdf > $tempText cat $tempText grep -q 'time:units = "seconds since 2008-02-06 00:00:00.0" ;' $tempText - grep -q 'time = "2008-02-06 12", "2008-02-06 12:00:15.*", "2008-02-06 12:00:30' $tempText + grep -q 'time = "2008-02-06 12' $tempText + grep -q '"2008-02-06 12:00:15' $tempText + grep -q '"2008-02-06 12:00:30' $tempText fi # The operation should fail because the time value exceeded the maximum limit of 2,147,483,647.