Zbigniew Jędrzejewski-Szmek
1682ff6011
tests: add test for unit name printing
2013-01-29 19:01:41 -05:00
Zbigniew Jędrzejewski-Szmek
3251c0d239
tests: compress unit name tests and add more asserts
2013-01-29 19:01:41 -05:00
Lennart Poettering
1b2ac6b311
test: extend unit-name test a bit
2012-09-12 08:31:08 +02:00
Lennart Poettering
8556879e0d
unit-name: rework unit_name_replace_instance function()
...
https://bugzilla.redhat.com/show_bug.cgi?id=855863
2012-09-12 04:46:38 +02:00
Lennart Poettering
35eb6b124e
cryptsetup: fix escaping when generating cryptsetup units
2012-06-25 20:16:15 +02:00
Lennart Poettering
b0193f1c1f
systemctl: automatically turn paths and unescaped unit names into proper unit names
...
This makes sure that
systemctl status /home
is implicitly translated to:
systemctl status /home.mount
Similar, /dev/foobar becomes dev-foobar.device.
Also, all characters that cannot be part of a unit name are implicitly
escaped.
2012-06-22 13:08:48 +02:00