From Fedora Project Wiki
No edit summary |
(don't reference obsolete test cases) |
||
Line 4: | Line 4: | ||
|description=This test case tests if system logging infrastructure is available and working as expected. | |description=This test case tests if system logging infrastructure is available and working as expected. | ||
|setup= | |setup= | ||
# Install Fedora | # Install Fedora according to [[QA:Testcase_Boot_default_install]], using one of the release-blocking media (e.g. Workstation live image or Server DVD). | ||
# If necessary, reboot your system after the installation. | # If necessary, reboot your system after the installation. | ||
|actions= | |actions= | ||
Line 13: | Line 10: | ||
# Check if system logging facility is working ({{command|tail}} can be replaced with {{command|less}} in the following): | # Check if system logging facility is working ({{command|tail}} can be replaced with {{command|less}} in the following): | ||
## {{command| su -c 'journalctl -a'}} | ## {{command| su -c 'journalctl -a'}} | ||
# If rsyslog is installed (for example, on the Server | # If rsyslog is installed (for example, on the Server Flavor), check: | ||
## {{command| su -c 'tail /var/log/secure'}} | ## {{command| su -c 'tail /var/log/secure'}} | ||
Revision as of 21:15, 7 February 2015
Description
This test case tests if system logging infrastructure is available and working as expected.
Setup
- Install Fedora according to QA:Testcase_Boot_default_install, using one of the release-blocking media (e.g. Workstation live image or Server DVD).
- If necessary, reboot your system after the installation.
How to test
- If you are using a graphical environment, open a terminal window.
- Check if system logging facility is working (
tail
can be replaced withless
in the following):su -c 'journalctl -a'
- If rsyslog is installed (for example, on the Server Flavor), check:
su -c 'tail /var/log/secure'
Expected Results
- Log files should not be empty.
- The last entries in logs should correspond to the current date and time.