Skip to content

Commit

Permalink
Update run_wgrib2_tests.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
AlysonStahl-NOAA committed May 15, 2024
1 parent 71da810 commit 65677e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/run_wgrib2_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,12 @@ echo "*** Testing separating grib messages into separate files then recombining
../wgrib2/wgrib2 hgt0p4.grb -grib result.grb
../wgrib2/wgrib2 tmp0p4.grb -append -grib result.grb
../wgrib2/wgrib2 winds0p4.grb -append -GRIB result.grb

cksum0=`../wgrib2/wgrib2 htuv.grb -text - | cksum`
cksum0=`../wgrib2/wgrib2 result.grb -text - | cksum`
cksum1=`../wgrib2/wgrib2 result.grb -text - | cksum`

if [ "$cksum0" != "$cksum1" ] ; then
echo "*** Failed combining files"
exit 1
fi

Expand Down

0 comments on commit 65677e3

Please sign in to comment.