summaryrefslogtreecommitdiff
path: root/test/system/250-generate-systemd.bats
Commit message (Collapse)AuthorAge
* Move skipping systemd tests to early setup.Danila Kiver2019-07-06
| | | | | | | There is no meaning of performing setup/teardown for these tests when we even can not work with systemd. Signed-off-by: Danila Kiver <danila.kiver@mail.ru>
* Reload systemd daemon on creation of units location dir in tests.Danila Kiver2019-07-06
| | | | | | | | Systemd manager drops non-existent directories from the units search path during initialization, thus, creation of UNIT_DIR, if it did not exist before, requres reloading the daemon. Signed-off-by: Danila Kiver <danila.kiver@mail.ru>
* Add debug information to "generate systemd" test.Danila Kiver2019-07-06
| | | | Signed-off-by: Danila Kiver <danila.kiver@mail.ru>
* Use conmon pidfile in generated systemd unit as PIDFile.Danila Kiver2019-07-04
By default, podman points PIDFile in generated unit file to non-existent location. As a result, the unit file, generated by podman, is broken: an attempt to start this unit without prior modification results in a crash, because systemd can not find the pidfile of service's main process. Fix the value of "PIDFile" and add a system test for this case. Signed-off-by: Danila Kiver <danila.kiver@mail.ru>