test: add simple test for validating some of the unit specifiers we support
(Also, sort list of test unit files in meson.build alphabetically, to make future additions more systematic)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/test %n = exec-specifier.service
|
||||
ExecStart=/usr/bin/test %N = exec-specifier
|
||||
ExecStart=/usr/bin/test %p = exec-specifier
|
||||
ExecStart=/usr/bin/test %P = exec/specifier
|
||||
ExecStart=/usr/bin/test %f = /exec/specifier
|
||||
ExecStart=/usr/bin/test %t = /run
|
||||
ExecStart=/usr/bin/test %S = /var/lib
|
||||
ExecStart=/usr/bin/test %C = /var/cache
|
||||
ExecStart=/usr/bin/test %L = /var/log
|
||||
ExecStart=/usr/bin/test %U = 0
|
||||
|
||||
# We don't test the other specifiers here, since they migh resolve to different
|
||||
# things in different test environments
|
||||
Reference in New Issue
Block a user