projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify XSLs by using new pz:metadata attribute 'empty'.
[pazpar2-moved-to-github.git]
/
test
/
run_pazpar2.sh
diff --git
a/test/run_pazpar2.sh
b/test/run_pazpar2.sh
index
b221d10
..
b18e0a5
100755
(executable)
--- a/
test/run_pazpar2.sh
+++ b/
test/run_pazpar2.sh
@@
-102,9
+102,10
@@
for f in `cat ${srcdir}/${URLS}`; do
if test ! -f $OUT2; then
touch $OUT2
fi
if test ! -f $OUT2; then
touch $OUT2
fi
- if test -f $OUT1; then
+ if test -f $OUT1 -a -z "$PAZPAR2_OVERRIDE_TEST"; then
if diff $OUT1 $OUT2 >$DIFF; then
if diff $OUT1 $OUT2 >$DIFF; then
- :
+ rm $DIFF
+ rm $OUT2
else
echo "Test $testno: Failed. See $OUT1, $OUT2 and $DIFF"
echo "URL: $f"
else
echo "Test $testno: Failed. See $OUT1, $OUT2 and $DIFF"
echo "URL: $f"
@@
-152,9
+153,6
@@
if [ -z "$SKIP_PAZPAR2" ] ; then
sleep 2
fi
sleep 2
fi
-# clean out empty diff files
-find . -name "$TEST*.dif" -empty -delete
-
exit $code
# Local Variables:
exit $code
# Local Variables: