From Fedora Project Wiki

(First version)
 
(Added su and terminal)
Line 8: Line 8:
 
# If necessary, reboot your system after the installation.  
 
# If necessary, reboot your system after the installation.  
 
|actions=  
 
|actions=  
# If you are not logged as root, switch to root using: {{command| su -}}
+
# 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| tail /var/log/messages}}  
+
## {{command| su -c 'tail /var/log/messages'}}  
## {{command| tail /var/log/secure}}  
+
## {{command| su -c 'tail /var/log/secure'}}  
  
 
|results=
 
|results=

Revision as of 18:59, 24 June 2011

Description

This test case tests if system logging infrastructure is available and working as expected.

Setup

  1. Install Fedora using one of the following methods:
    1. Boot ISO: QA/TestCases/InstallSourceBootIso
    2. DVD: QA/TestCases/InstallSourceDvd
    3. Live Image: QA:TestCases/Install_Source_Live_Image
  2. If necessary, reboot your system after the installation.

How to test

  1. If you are using a graphical environment, open a terminal window.
  2. Check if system logging facility is working (tail can be replaced with less in the following):
    1. su -c 'tail /var/log/messages'
    2. su -c 'tail /var/log/secure'

Expected Results

  1. Log files should not be empty.
  2. The last entries in logs should correspond to the current date and time.