Commit 28d98b0d authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

removed unfinished prototype tests Adipot and Adisit

parent c420de9c
#! @BASH@
echo 1..1 # Number of tests to be executed.
#
test -n "$CDO" || CDO="@abs_top_builddir@/src/cdo $CDO_DEBUG"
test -n "$DATAPATH" || DATAPATH="@abs_top_srcdir@/test/data/"
#
FORMAT="-f srv -b 32"
STATS="adipot"
IFIL1=$DATAPATH/MISSINGFILE
RFILE=$DATAPATH/MISSSINGFILE_ref
OFILE=$DATAPATH/MISSINGFILE_res
CDOCALL="$CDO $FORMAT"
RSTAT = 0
CDOCOMMAND="$CDOCALL adipot $IFILE $OUTFILE"
echo "$CDOCOMMAND"
DIFFCOMMAND="$CDOCALL diff $OFILE $RFILE"
$CDOCOMMAND
test $? -eq 0 || let RSTAT=-1
$diffcommand
test $? -eq 0 || let rstat+=1
rm -f $ofile
test $rstat -eq 0 && echo "ok $ntest - $cdotest"
test $rstat -eq 0 || echo "not ok $ntest - $cdotest"
#! @BASH@
echo 1..1 # Number of tests to be executed.
#
test -n "$CDO" || CDO="@abs_top_builddir@/src/cdo $CDO_DEBUG"
test -n "$DATAPATH" || DATAPATH="@abs_top_srcdir@/test/data/"
#
FORMAT="-f srv -b 32"
STATS="adisit"
OPER_ARG="MISSING_ARGUMENT"
IFIL1=$DATAPATH/MISSINGFILE
RFILE=$DATAPATH/MISSSINGFILE_ref
OFILE=$DATAPATH/MISSINGFILE_res
CDOCALL="$CDO $FORMAT"
RSTAT=0
CDOCOMMAND="$CDOCALL adisit,$OPER_ARG $IFILE $OUTFILE"
echo "$CDOCOMMAND"
DIFFCOMMAND="$CDOCALL diff $OFILE $RFILE"
$CDOCOMMAND
test $? -eq 0 || let RSTAT=+1
$DIFFCOMMAND
test $? -eq 0 || let RSTAT+=1
rm -f $OFILE
test $RSTAT -eq 0 && echo "ok $NTEST - $CDOTEST"
test $RSTAT -eq 0 || echo "not ok $NTEST - $CDOTEST"
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