#8 [test idea] systemd unit files test
Opened 10 years ago by adamwill. Modified 6 years ago

Initially filed by kparal at https://fedorahosted.org/autoqa/ticket/274


We currently have test for checking initscripts LSB compliance:

http://git.fedorahosted.org/git/?p=autoqa.git;a=tree;f=tests/initscripts;h=5002f661c31bc0320285a998e5798361f2d155ed;hb=HEAD

The goal is to have something similar for [[ http://www.freedesktop.org/wiki/Software/systemd | systemd ]] unit files - some kind of "lint" test. This test could:

  • check that systemd unit files are syntactically correct
  • check that starting/stopping/reloading/etc services works as expected
  • anything else that systemd is able to provide

The task is to:

  1. study systemd basics
  2. consult with systemd upstream (Lennart, Kay...) on the possibilities
  3. write AutoQA test object if the lint tool is provided directly by systemd, or find someone who will create the lint tool otherwise :-)
  4. hook it up

Metadata Update from @adamwill:
- Issue tagged with: task-idea

6 years ago

Login to comment on this ticket.

Metadata