projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check for errors at all times in this event test
[yaz-moved-to-github.git]
/
test
/
tstcql.sh
diff --git
a/test/tstcql.sh
b/test/tstcql.sh
index
8c70905
..
bd8a436
100755
(executable)
--- a/
test/tstcql.sh
+++ b/
test/tstcql.sh
@@
-1,4
+1,5
@@
#!/bin/sh
#!/bin/sh
+# $Id: tstcql.sh,v 1.4 2004-11-16 22:44:31 adam Exp $
srcdir=${srcdir:-.}
oIFS="$IFS"
IFS='
srcdir=${srcdir:-.}
oIFS="$IFS"
IFS='
@@
-28,6
+29,7
@@
for f in `cat ${srcdir}/cqlsample`; do
if test -f $OUT1 -a -f $ERR1; then
if diff $OUT1 $OUT2 >$DIFF; then
rm $DIFF
if test -f $OUT1 -a -f $ERR1; then
if diff $OUT1 $OUT2 >$DIFF; then
rm $DIFF
+ rm $OUT2
else
echo "diff out $secno $testno $f"
cat $DIFF
else
echo "diff out $secno $testno $f"
cat $DIFF
@@
-35,6
+37,7
@@
for f in `cat ${srcdir}/cqlsample`; do
fi
if diff $ERR1 $ERR2 >$DIFF; then
rm $DIFF
fi
if diff $ERR1 $ERR2 >$DIFF; then
rm $DIFF
+ rm $ERR2
else
echo "diff err $secno $testno $f"
cat $DIFF
else
echo "diff err $secno $testno $f"
cat $DIFF