[systemd-devel] [PATCH] Added test for unit file state returned by unit_file_get_state and unit_file_get_list.

David Timothy Strauss david at davidstrauss.net
Sat Oct 4 19:55:32 PDT 2014


It would be good if the test units were more basic, not things
including "Crash recovery kernel arming." This makes it seems like the
contents are substantial to the tests, when they're not. Just run
something like ExecStart=/usr/bin/echo to make it clear that the units
are stubs. Then, anything but the Type=oneshot and
ExecStart=/usr/bin/echo will be clearly for the sake of the tests.


More information about the systemd-devel mailing list