+ if test ! -f $OUT2; then
+ touch $OUT2
+ fi
+ rounds=`expr $rounds - 1`
+ if test -f $OUT1 -a -z "$PAZPAR2_OVERRIDE_TEST"; then
+ if diff $OUT1 $OUT2 >$DIFF; then
+ rm $DIFF
+ rm $OUT2
+ rounds=0
+ else
+ if test $rounds -eq 0; then
+ echo "Test $testno: Failed. See $OUT1, $OUT2 and $DIFF"
+ echo "URL: $f"
+ code=1
+ fi
+ fi
+ else
+ if test $rounds -eq 0; then
+ echo "Test $testno: Making for the first time"
+ mv $OUT2 $OUT1
+ code=1
+ fi
+ fi
+ if test $rounds -gt 0; then
+ sleep $sec
+ fi
+ done