From Fedora Project Wiki
Description
This test case tests whether a package with a systemd service definition installs with it disabled by default.
Setup
- Install the systemd test environment (PUT GOOD INSTRUCTIONS HERE)
- Install the package to be tested
How to test
- Check whether the application is running: for example,
ps aux | grep httpd
would check if Apache was running. Refer to the service file to find the executable name - Run the command
ls -al /etc/systemd/system/*wants/*super*
- Reboot the system and repeat the above two tests
Expected Results
- The application should not be running after package installation or reboot, and in both cases the ls command should return no results