From Fedora Project Wiki
(adjust associated_release_criterion template invocation) |
(we should probably switch this test to journalctl now.) |
||
Line 12: | Line 12: | ||
# If you are using a graphical environment, open a terminal window. | # If you are using a graphical environment, open a terminal window. | ||
# 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 ' | ## {{command| su -c 'journalctl -a'}} | ||
## {{command| su -c 'tail /var/log/secure'}} | ## {{command| su -c 'tail /var/log/secure'}} | ||
Revision as of 05:35, 12 December 2013
Description
This test case tests if system logging infrastructure is available and working as expected.
Setup
- Install Fedora using one of the following methods:
- Boot ISO: QA/TestCases/InstallSourceBootIso
- DVD: QA/TestCases/InstallSourceDvd
- Live Image: QA:TestCases/Install_Source_Live_Image
- 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'
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.