Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
9b387872
Commit
9b387872
authored
Oct 18, 2019
by
Oliver Heidmann
Browse files
simplified Cat.test.in
parent
f4fcd76f
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/Cat.test.in
View file @
9b387872
#! @BASH@
. ./cdoTestFunctions.test
echo 1..1 # Number of tests to be executed.
#
test -n "$CDO" || CDO="@abs_top_builddir@/src/cdo $CDO_DEBUG"
...
...
@@ -22,19 +23,9 @@ rm -f ${OFILE}
#
CDOTEST="cat"
CDOCOMMAND="$CDO $STATS $IFILE ${OFILE}"
TESTCOMMAND="$CDO diff $OFILE $RFILE"
#
$CDOCOMMAND
test $? -eq 0 || let RSTAT+=1
$CDOCOMMAND
test $? -eq 0 || let RSTAT+=1
#
$CDO diff $OFILE $RFILE
test $? -eq 0 || let RSTAT+=1
#
test $RSTAT -eq 0 && echo "ok 1 - $CDOTEST"
test $RSTAT -eq 0 || echo "not ok 1 - $CDOTEST"
runTest "1" "$CDOTEST" "$CDODOMMAND" "$TESTCOMMAND"
#
rm -f $OFILE $RFILE
#
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment