Cron <eagle at hope> bin/inn-snapshot

Julien ÉLIE julien at trigofacile.com
Tue Dec 8 19:08:53 UTC 2009


Hi Matija,

> Maybe a race condition ? So that free disk space changed in a short time
> between "df -k" and "inndf ." runs due to some other process (even syslog or
> some such)  ? In such a case, the test would fix itself automagically (until
> next time it hits such small odds)

The test worked fine the following day.

By the way, we already allow a difference of 200 between the two results:

    diff=`expr "$real" - "$try"`
    if [ "$diff" -gt 200 ] || [ "$diff" -lt -200 ] ; then
        printcount "not ok"
    else
        printcount "ok"
    fi

The difference was higher the day the test failed...

-- 
Julien ÉLIE

« -- Comment s'appelle cette ville ?
  -- Divodurum.
  -- N'essaie pas de m'amadouer ! Non, je ne veux pas de rhum ! » (Astérix) 




More information about the inn-workers mailing list