Add a $JOBSERIAL environment variable when jobs run.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 21 Feb 2012 14:47:00 +0000 (14:47 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 21 Feb 2012 14:56:08 +0000 (14:56 +0000)
commit82b61d8519571f6a3feadc8575958945292c6d9f
treee2ea137b6551f7d0f4dc9b8a30644ec40ff98337
parent28d4576308b10064eda39827c419aa33e1041041
Add a $JOBSERIAL environment variable when jobs run.

This serial number counts up sequentially, allowing us to
test parallel jobs more easily.  It is implemented as an
ordinary variable, so you can write conditions against it.
daemon/daemon.ml
tests/jobs/t100_counter.ml
tests/jobs/t100_counter.ml.expected
tests/jobs/t101_updown.ml
tests/jobs/t101_updown.ml.expected
tests/jobs/test_run.sh