From e897db2b4b8b51fd0d9fbabf393ce913345da807 Mon Sep 17 00:00:00 2001 From: Sandor Kertesz Date: Mon, 2 Feb 2015 09:30:58 +0000 Subject: [PATCH] Add bufr_filter test ECC-24 --- tests/bufr_filter.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/bufr_filter.sh b/tests/bufr_filter.sh index d2303e743..5c035555a 100755 --- a/tests/bufr_filter.sh +++ b/tests/bufr_filter.sh @@ -31,7 +31,7 @@ fRules="bufr_filter.filter" # the bufr files must have. We just check if it works. #----------------------------------------------------------- -echo "Test: dump header" +echo "Test: dump header" >> $fLog cat > $fRules <> $fLog echo "file: $f" >> $fLog ${tools_dir}/bufr_filter $fRules $f >> $fLog @@ -75,7 +75,7 @@ fBufrTmp="res_1003" rm -f $fBufrTmp | true f="syno_multi.bufr" -echo "Test: filter SYNOP message according to conditions" +echo "Test: filter SYNOP message according to conditions" >> $fLog echo "file: $f" >> $fLog ${tools_dir}/bufr_filter $fRules $f >> $fLog @@ -94,19 +94,19 @@ EOF cat > $fRules <> $fLog echo "file: $f" >> $fLog ${tools_dir}/bufr_filter $fRules $f >> $fLog #Check if the resulting files exist -for statid in 1001 1003 1007 ; do - [ -s split/split_98_13_1_${statid}.bufr ] +for statid in 1 3 7 ; do + [ -s split/split_98_13_1_1_${statid}.bufr ] done #Clean up