From: Richard W.M. Jones Date: Sat, 28 Apr 2012 19:41:33 +0000 (+0100) Subject: arm: Fix for test running slowly. X-Git-Tag: 0.7.3~1 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=efddbf83a5287c5d668cc04a0c7328cf5ca3e648;p=whenjobs.git arm: Fix for test running slowly. If the 'sed' command runs slowly (ie. on arm) then the regular every-job fires twice, causing the test to fail. --- diff --git a/tests/jobs/t300_reload.ml b/tests/jobs/t300_reload.ml index f7c6532..3966ab0 100644 --- a/tests/jobs/t300_reload.ml +++ b/tests/jobs/t300_reload.ml @@ -22,7 +22,7 @@ let () = Whentools.set_variable_int "counter" 1; Whentools.set_variable "state" "A" -every 2 seconds : +every 4 seconds : << echo $JOBSERIAL $JOBNAME $counter >\> $HOME/test_output whenjobs --set --type int counter=$(($counter+1))