diff --git a/tests/grib_jpeg.sh b/tests/grib_jpeg.sh index 56a6b86bf..dfe8a8f61 100755 --- a/tests/grib_jpeg.sh +++ b/tests/grib_jpeg.sh @@ -151,6 +151,10 @@ status=$? set -e [ $status -ne 0 ] +tempDump=temp.$label.jpg +ECCODES_GRIB_DUMP_JPG_FILE=$tempDump ${tools_dir}/grib_copy -r $data_dir/jpeg.grib2 $tempGrib +[ -f $tempDump ] +rm -f $tempDump # Clean up rm -f $tempFilt $tempGrib