mirror of https://github.com/ecmwf/eccodes.git
Testing: write action
This commit is contained in:
parent
f72c6ac9bf
commit
dd78190259
|
@ -445,6 +445,16 @@ status=$?
|
|||
set -e
|
||||
[ $status -ne 0 ]
|
||||
|
||||
|
||||
# Bad write
|
||||
set +e
|
||||
echo 'write "/";' | ${tools_dir}/grib_filter - $input > $tempOut 2>&1
|
||||
status=$?
|
||||
set -e
|
||||
[ $status -ne 0 ]
|
||||
grep -q "Unable to open file" $tempOut
|
||||
|
||||
|
||||
# Setting step
|
||||
# -------------
|
||||
input=$ECCODES_SAMPLES_PATH/GRIB2.tmpl
|
||||
|
|
Loading…
Reference in New Issue