diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-12-10 09:32:44 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-03-28 11:46:47 +0100 |
commit | 94370e627fe62d20557832765bb733ac2bcde6c6 (patch) | |
tree | b2d03c304baeb6f06ad75589a8de4a345c273ca5 /test/testsuite-28.units | |
parent | test: move TEST-27-STDOUTFILE setup to static files (diff) | |
download | systemd-94370e627fe62d20557832765bb733ac2bcde6c6.tar.xz systemd-94370e627fe62d20557832765bb733ac2bcde6c6.zip |
test: move TEST-28-PERCENTJ-WANTEDBY setup to static files
Diffstat (limited to 'test/testsuite-28.units')
-rw-r--r-- | test/testsuite-28.units/specifier-j-depends-wants.service | 6 | ||||
-rw-r--r-- | test/testsuite-28.units/specifier-j-wants.service | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/test/testsuite-28.units/specifier-j-depends-wants.service b/test/testsuite-28.units/specifier-j-depends-wants.service new file mode 100644 index 0000000000..1db4d855b9 --- /dev/null +++ b/test/testsuite-28.units/specifier-j-depends-wants.service @@ -0,0 +1,6 @@ +[Unit] +Description=Dependent service for percent-j specifier + +[Service] +Type=oneshot +ExecStart=touch /tmp/test-specifier-j-wants diff --git a/test/testsuite-28.units/specifier-j-wants.service b/test/testsuite-28.units/specifier-j-wants.service new file mode 100644 index 0000000000..10c35906bb --- /dev/null +++ b/test/testsuite-28.units/specifier-j-wants.service @@ -0,0 +1,9 @@ +[Unit] +Description=Wants with percent-j specifier +Wants=specifier-j-depends-%j.service +After=specifier-j-depends-%j.service + +[Service] +Type=oneshot +ExecStart=test -f /tmp/test-specifier-j-%j +ExecStart=sh -c 'echo OK > /testok' |