Commit 69a8b0d1 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

wildcard.test.in: bug fix.

parent f9c14385
......@@ -21,6 +21,7 @@ for STAT in $STATS; do
OFILE=ens${STAT}_res
CDOTEST="ens$STAT"
CDOCOMMAND="$CDO ens${STAT} $IFILES $OFILE"
echo "Running test: $NTEST"
......@@ -34,11 +35,12 @@ for STAT in $STATS; do
test -s $CDOOUT && let RSTAT+=1
cat $CDOOUT $CDOERR
rm -f $OFILE
test $RSTAT -eq 0 && echo "ok $NTEST - $CDOTEST"
test $RSTAT -eq 0 || echo "not ok $NTEST - $CDOTEST"
let NTEST+=1
rm -f $OFILE
done
#
rm -f $CDOOUT $CDOERR
......
......@@ -47,7 +47,8 @@ for IFILE in $IFILES; do
CDOCOMMAND="$CDO ${OPERATOR} $DATAPATH/grib_${IFILE}.grb"
echo "$CDOCOMMAND"
$CDOCOMMAND > $CDOOUT 2> $CDOERR
$CDO ${OPERATOR} "$DATAPATH/grib_${IFILE}.grb" > $CDOOUT 2> $CDOERR
#$CDOCOMMAND > $CDOOUT 2> $CDOERR
test $? -eq 0 || let RSTAT+=1
cat $CDOOUT $CDOERR
mv $CDOOUT ref2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment