git.annexia.org
/
whenjobs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change whenjobs --set syntax (NOTE: breaks compatibility).
[whenjobs.git]
/
tests
/
jobs
/
t100_counter.ml
diff --git
a/tests/jobs/t100_counter.ml
b/tests/jobs/t100_counter.ml
index
78471ec
..
b6ac29c
100644
(file)
--- a/
tests/jobs/t100_counter.ml
+++ b/
tests/jobs/t100_counter.ml
@@
-21,13
+21,13
@@
when reloaded () :
<<
echo $JOBSERIAL $JOBNAME >\> $HOME/test_output
when reloaded () :
<<
echo $JOBSERIAL $JOBNAME >\> $HOME/test_output
- whenjobs --set
counter 0 --type int
+ whenjobs --set
--type int counter=0
>>
every 2 seconds :
<<
echo $JOBSERIAL $JOBNAME $counter >\> $HOME/test_output
>>
every 2 seconds :
<<
echo $JOBSERIAL $JOBNAME $counter >\> $HOME/test_output
- whenjobs --set
counter $(($counter+1)) --type int
+ whenjobs --set
--type int counter=$(($counter+1))
>>
when counter = 3 :
>>
when counter = 3 :