diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-07-11 16:43:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-11 16:43:58 +0200 |
commit | 2e8e1a1ab670c31969ac5a4ab2a7e06ba1d48cde (patch) | |
tree | 65f154ab23b99c807a18c1bb544f085bd29cf75b /test | |
parent | Merge pull request #12176 from poettering/clean-dir2 (diff) | |
parent | tests: Check trivial loop between two jobs (diff) | |
download | systemd-2e8e1a1ab670c31969ac5a4ab2a7e06ba1d48cde.tar.xz systemd-2e8e1a1ab670c31969ac5a4ab2a7e06ba1d48cde.zip |
Merge pull request #12461 from Werkov/fix-job-ordering
Refactor job ordering implementation (and fix cycle detection)
Diffstat (limited to 'test')
-rw-r--r-- | test/a-conj.service | 8 | ||||
-rw-r--r-- | test/i.service | 8 | ||||
-rw-r--r-- | test/meson.build | 2 |
3 files changed, 18 insertions, 0 deletions
diff --git a/test/a-conj.service b/test/a-conj.service new file mode 100644 index 0000000000..db37ae71d4 --- /dev/null +++ b/test/a-conj.service @@ -0,0 +1,8 @@ +[Unit] +Description=A conjugate +Requires=a.service +After=a.service +Before=a.service + +[Service] +ExecStart=/bin/true diff --git a/test/i.service b/test/i.service new file mode 100644 index 0000000000..938ea77bdf --- /dev/null +++ b/test/i.service @@ -0,0 +1,8 @@ +[Unit] +Description=I +Conflicts=a.service d.service +Wants=b.service +After=b.service + +[Service] +ExecStart=/bin/true diff --git a/test/meson.build b/test/meson.build index 17d0f3cddd..8c71e72667 100644 --- a/test/meson.build +++ b/test/meson.build @@ -2,6 +2,7 @@ test_data_files = ''' a.service + a-conj.service b.service basic.target c.service @@ -26,6 +27,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 |