From 888c88ab908a90f979f108bbd95b860c9608a68c Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Thu, 8 Aug 2019 18:17:29 +0100 Subject: [PATCH] ECC-428: test for the string array and replication --- tests/bufr_ecc-428.sh | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/tests/bufr_ecc-428.sh b/tests/bufr_ecc-428.sh index b0706aa28..88bd4e2be 100755 --- a/tests/bufr_ecc-428.sh +++ b/tests/bufr_ecc-428.sh @@ -54,7 +54,7 @@ diff $tempRef1 $tempText # -------------------------------------------------------- -# Test 2 +# Test 2: percentConfidence # -------------------------------------------------------- bufrFile=amv2_87.bufr cat > $tempRules < $tempRules < $tempText 2>$tempErrs +grep -q '^LBG LBG LBG LBG.*LBG$' $tempText + + +# -------------------------------------------------------- +# Test 4: replication factors +# -------------------------------------------------------- +bufrFile=sbu8_206.bufr +cat > $tempRules < $tempText 2>$tempErrs +grep -q '^6 6 6.*24 24.*6 6' $tempText + +# -------------------------------------------------------- +# Test XX: Currently failing # -------------------------------------------------------- bufrFile=asca_139.bufr cat > $tempRules <