summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-04-27 20:07:23 +0900
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-04-27 13:07:23 +0200
commit545673d4b0c1bc4d8cdbe4f326442435af86265a (patch)
treeef2a54a5c1db909a4dee816d05c0b9b06217ccac
parentc73bb2676f91a0aa3854777213f2511945188d22 (diff)
downloadsystemd-545673d4b0c1bc4d8cdbe4f326442435af86265a.tar.gz
test: add tests for %j and %J specifier in test-execute (#8838)
Follow-up for 250e9fadbcc0ca90e697d7efb40855b054ed3b8f.
-rw-r--r--test/test-execute/exec-specifier.service2
-rw-r--r--test/test-execute/exec-specifier@.service2
2 files changed, 4 insertions, 0 deletions
diff --git a/test/test-execute/exec-specifier.service b/test/test-execute/exec-specifier.service
index 727d77f612..926d45182b 100644
--- a/test/test-execute/exec-specifier.service
+++ b/test/test-execute/exec-specifier.service
@@ -9,6 +9,8 @@ ExecStart=test %p = exec-specifier
ExecStart=test %P = exec/specifier
ExecStart=test %i = ""
ExecStart=test %I = ""
+ExecStart=test %j = specifier
+ExecStart=test %J = specifier
ExecStart=test %f = /exec/specifier
ExecStart=test %t = /run
ExecStart=test %S = /var/lib
diff --git a/test/test-execute/exec-specifier@.service b/test/test-execute/exec-specifier@.service
index 1b69e60843..5846de1655 100644
--- a/test/test-execute/exec-specifier@.service
+++ b/test/test-execute/exec-specifier@.service
@@ -9,6 +9,8 @@ ExecStart=test %p = exec-specifier
ExecStart=test %P = exec/specifier
ExecStart=test %i = foo-bar
ExecStart=test %I = foo/bar
+ExecStart=test %j = specifier
+ExecStart=test %J = specifier
ExecStart=test %f = /foo/bar
ExecStart=test %t = /run
ExecStart=test %S = /var/lib