Testing: Increase coverage: metar non-alpha keys

This commit is contained in:
Shahram Najm 2023-12-26 17:52:47 +00:00
parent 2308878ef2
commit e078c6af64
1 changed files with 6 additions and 0 deletions

View File

@ -39,5 +39,11 @@ ${tools_dir}/metar_get -w count=1/2/3 -p CCCC,latitude,longitude,dateTime,elevat
result=$( ${tools_dir}/metar_get -p visibilityInMetres:i,visibilityInMetres:d -w count=1 $metar_file )
[ "$result" = "6000 6000" ]
# non-alpha keys
# ----------------
result=$(${tools_dir}/metar_get -w count=1 -p na:i,na:d $metar_file)
[ "$result" = "0 0" ]
# Clean up
rm -f $fLog