ECC-378: Added test

This commit is contained in:
Shahram Najm 2016-11-04 17:53:49 +00:00
parent a260817da6
commit 07b7d581db
1 changed files with 10 additions and 0 deletions

View File

@ -11,3 +11,13 @@
input="../../data/index.grib"
${examples_dir}c_grib_ensemble_index $input
# ECC-378: Empty input file
temp=temp_index.empty.grib
touch $temp
set +e
${examples_dir}c_grib_ensemble_index $temp 2>/dev/null
status=$?
set -e
[ $status -ne 0 ]
rm -f $temp