Testing: write action

This commit is contained in:
Shahram Najm 2024-02-01 23:13:53 +00:00
parent f72c6ac9bf
commit dd78190259
1 changed files with 10 additions and 0 deletions

View File

@ -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