From 3e19bbe2ceb957f5a67fffffdb11c276a51265f3 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 16 Dec 2019 14:55:48 +0000 Subject: [PATCH] Testing: show diff results when they fail --- tests/grib_bitmap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/grib_bitmap.sh b/tests/grib_bitmap.sh index 242af89ce..27f563dfa 100755 --- a/tests/grib_bitmap.sh +++ b/tests/grib_bitmap.sh @@ -34,8 +34,8 @@ ${tools_dir}/grib_dump $infile | grep -v FILE > $infile.dump ${tools_dir}/grib_dump $outfile | grep -v FILE > $outfile.dump grib_check_key_equals $outfile section1Flags,section3Length '192 772' -diff $outfile.dump ${data_dir}/bitmap.diff >$REDIRECT 2>&1 -diff $infile.dump ${data_dir}/no_bitmap.diff >$REDIRECT 2>&1 +diff $outfile.dump ${data_dir}/bitmap.diff +diff $infile.dump ${data_dir}/no_bitmap.diff ${tools_dir}/grib_dump -O -p bitmap $outfile | grep -v FILE > $outfile.dump