Testing: bufr_compare

This commit is contained in:
shahramn 2024-08-15 11:26:34 +01:00
parent a12b890e9c
commit 14cdab4eb8
1 changed files with 12 additions and 0 deletions

View File

@ -339,6 +339,18 @@ set -e
[ $status -eq 1 ]
grep -q "Summary of different key values" $fLog
# More messages in 2nd file
count1=$(${tools_dir}/bufr_count syno_4.bufr)
count2=$(${tools_dir}/bufr_count syno_multi.bufr)
[ $count1 = 1 ]
[ $count2 = 3 ]
set +e
${tools_dir}/bufr_compare -f syno_4.bufr syno_multi.bufr > $fLog 2>&1
status=$?
set -e
[ $status -eq 1 ]
grep -q "Different number of messages" $fLog
# ----------------------------------------
# Unreadable message