Cron <eagle at hope> bin/inn-snapshot

Russ Allbery rra at stanford.edu
Thu Jan 21 20:23:57 UTC 2010


Julien ÉLIE <julien at trigofacile.com> writes:

> We had the same issue last month.

> Maybe we should increase the allowed difference of 200 between
> the two results in the failing test?

>    real=`df -k . | sed 1d | awk '{ print $4 }'`
>    try=`$inndf .`
>    diff=`expr "$real" - "$try"`
>    if [ "$diff" -gt 200 ] || [ "$diff" -lt -200 ] ; then
>        printcount "not ok"
>    else
>        printcount "ok"
>    fi

> % df -k . | sed 1d | awk '{ print $4 }'
> 12012940
> % inndf .
> 12012940

Yeah, that's probably a good idea.  I'm not sure what's causing this to
fail periodically, but it's likely just too sensitive.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.



More information about the inn-workers mailing list