From Fedora Project Wiki
(add to expected category name) |
(use sudo instead of su, root user it not guaranteed to be included) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:Associated_release_criterion|Alpha|system-logging}} | |||
{{QA/Test_Case | {{QA/Test_Case | ||
|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= | ||
# 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 | # Check if system logging facility is working: | ||
## {{command| | ## {{command|sudo journalctl -aeb}} | ||
## {{command| | # If rsyslog is installed (for example, on the Server Edition), check: | ||
## {{command|sudo tail /var/log/secure}} | |||
|results= | |results= |
Latest revision as of 10:31, 31 May 2017
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:
sudo journalctl -aeb
- If rsyslog is installed (for example, on the Server Edition), check:
sudo 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.