From Fedora Project Wiki

Revision as of 20:03, 23 March 2011 by Adamwill (talk | contribs) (create example test case)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This test case tests whether a package with a systemd service definition installs with it disabled by default.

Setup

  1. Install the systemd test environment (PUT GOOD INSTRUCTIONS HERE)
  2. Install the package to be tested

How to test

  1. Check whether the application is running: for example, ps aux would check if Apache was running. Refer to the service file to find the executable name
  2. Run the command ls -al /etc/systemd/system/*wants/*super*
  3. Reboot the system and repeat the above two tests

Expected Results

  1. The application should not be running after package installation or reboot, and in both cases the ls command should return no results