Skip to content
GitLab
Menu
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
c7a8d03b
Commit
c7a8d03b
authored
Dec 10, 2013
by
Uwe Schulzweida
Browse files
test/test_Cat.sh: check CDOERR
parent
da5c52cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test_Cat.sh
View file @
c7a8d03b
...
...
@@ -28,6 +28,7 @@ $CDO cat $IFILE ${OFILE}
$CDO
diff
$OFILE
$RFILE
>
$CDOOUT
2>
$CDOERR
if
[
$?
!=
0
]
;
then
RSTAT
=
`
expr
$RSTAT
+ 1
`
;
fi
if
[
-s
$CDOOUT
]
;
then
RSTAT
=
`
expr
$RSTAT
+ 1
`
;
fi
if
[
-s
$CDOERR
]
;
then
RSTAT
=
`
expr
$RSTAT
+ 1
`
;
fi
if
[
"
$CDODEBUG
"
=
1
]
;
then
cat
$CDOOUT
$CDOERR
;
fi
rm
-f
$OFILE
$RFILE
#
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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