diff options
author | Michal Koutný <mkoutny@suse.com> | 2019-06-06 23:27:20 +0200 |
---|---|---|
committer | Michal Koutný <xm.koutny@gmail.com> | 2019-06-26 23:16:31 +0200 |
commit | 804cdabc31b38b840eec2b64dc8bdd9a8e660a6f (patch) | |
tree | ce1bbbb84bc92f82b9e9d025f673a3802009c234 /test/meson.build | |
parent | dfd79eca55e3d4bd61813ca4cf8887544d952c28 (diff) | |
download | systemd-804cdabc31b38b840eec2b64dc8bdd9a8e660a6f.tar.gz |
tests: Check job ordering on execution cycles
The test-engine Test2 tests the cycle detection when units a, b and d
all start at once
,-------------------after-----------------,
v |
a/start ---after---> d/start ---after---> b/start
Extend the test with Test11 that adds i.service which causes a and d
stop (by unordered Conflicts=) while starting b. Because stops precede
starts, we effectively eliminate the job cycle and all transaction jobs
should be applicable.
,-------------------after-----------------,
v |
a/stop <---after--- d/stop <---after--- b/start
. . ^
. . |
'. . . . . . . . . i/start ---after------'
Diffstat (limited to 'test/meson.build')
-rw-r--r-- | test/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/meson.build b/test/meson.build index 17d0f3cddd..a243538081 100644 --- a/test/meson.build +++ b/test/meson.build @@ -26,6 +26,7 @@ test_data_files = ''' hello-after-sleep.target hello.service hwdb/10-bad.hwdb + i.service journal-data/journal-1.txt journal-data/journal-2.txt nomem.slice |