git.annexia.org
/
whenjobs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d063ea
)
arm: Fix for test running slowly.
author
Richard W.M. Jones
<rjones@redhat.com>
Sat, 28 Apr 2012 19:41:33 +0000
(20:41 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Sat, 28 Apr 2012 19:41:33 +0000
(20:41 +0100)
If the 'sed' command runs slowly (ie. on arm) then the regular
every-job fires twice, causing the test to fail.
tests/jobs/t300_reload.ml
patch
|
blob
|
history
diff --git
a/tests/jobs/t300_reload.ml
b/tests/jobs/t300_reload.ml
index
f7c6532
..
3966ab0
100644
(file)
--- 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))