diff --git a/tests/metar_compare.sh b/tests/metar_compare.sh index 3c91703c5..758509ac4 100755 --- a/tests/metar_compare.sh +++ b/tests/metar_compare.sh @@ -136,5 +136,14 @@ set -e [ $status -ne 0 ] grep -q "No such file or directory" $fLog +# Options +set +e +${tools_dir}/metar_compare -a $metar_file $metar_file > $fLog 2>&1 +status=$? +set -e +[ $status -ne 0 ] +grep -q "option requires" $fLog + + # Clean up rm -f $fLog $fMetarTmp