QA:Testcase Anaconda User Interface serial console

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
m (Minor wiki cleanup)
m (Use template)
Line 1: Line 1:
= Description =
+
{{QA/Test_Case
 +
|description=
 
This test is intended to ensure that the console= parameter is honored and the post-installed systems is configured properly for a non tty0 console.  While the examples mention the use of ''console=ttyS0'', it it acceptable to use any device other than the default ''tty0''.
 
This test is intended to ensure that the console= parameter is honored and the post-installed systems is configured properly for a non tty0 console.  While the examples mention the use of ''console=ttyS0'', it it acceptable to use any device other than the default ''tty0''.
  
 
{{Admon/tip | This test case may require using a DB-9 serial cable to connect to the system under test.  Additionally, you may be required to update the BIOS to enable the serial port.}}
 
{{Admon/tip | This test case may require using a DB-9 serial cable to connect to the system under test.  Additionally, you may be required to update the BIOS to enable the serial port.}}
 
+
|actions=
= Steps To Reproduce =
+
 
# Using a DB-9 serial cable, connect to your test system on the first port (typically S0) and start a serial port monitoring application (ttywatch, cermit, or minicom)
 
# Using a DB-9 serial cable, connect to your test system on the first port (typically S0) and start a serial port monitoring application (ttywatch, cermit, or minicom)
 
# Boot installation program passing the console=ttyS0 command line parameter
 
# Boot installation program passing the console=ttyS0 command line parameter
 
# Complete installation and boot into installed system
 
# Complete installation and boot into installed system
 
+
|results=
= Expected Results =
+
 
* The installation displays properly works over the serial line
 
* The installation displays properly works over the serial line
 
* Confirm that a login console is presented over the serial device
 
* Confirm that a login console is presented over the serial device
Line 17: Line 16:
 
* When using ''sysvinit'' (prior to Fedora9), you may confirm that the file ''/etc/inittab'' has a login entry for the requested serial port.  For example: <pre>co:2345:respawn:/sbin/agetty ttyS1 115200 vt100-nav</pre>
 
* When using ''sysvinit'' (prior to Fedora9), you may confirm that the file ''/etc/inittab'' has a login entry for the requested serial port.  For example: <pre>co:2345:respawn:/sbin/agetty ttyS1 115200 vt100-nav</pre>
 
# The file ''/etc/securetty'' contains a line matching the requested console
 
# The file ''/etc/securetty'' contains a line matching the requested console
 
+
}}
 
[[Category:User Interface]]
 
[[Category:User Interface]]

Revision as of 11:17, 6 October 2009

Description

This test is intended to ensure that the console= parameter is honored and the post-installed systems is configured properly for a non tty0 console. While the examples mention the use of console=ttyS0, it it acceptable to use any device other than the default tty0.

Idea.png
This test case may require using a DB-9 serial cable to connect to the system under test. Additionally, you may be required to update the BIOS to enable the serial port.


How to test

  1. Using a DB-9 serial cable, connect to your test system on the first port (typically S0) and start a serial port monitoring application (ttywatch, cermit, or minicom)
  2. Boot installation program passing the console=ttyS0 command line parameter
  3. Complete installation and boot into installed system

Expected Results

  • The installation displays properly works over the serial line
  • Confirm that a login console is presented over the serial device
  • When using upstart (Fedora9), you may confirm that the serial device is configured for login by examining the output of initctl. For example,
serial (instance)
(start) running, process 1116
  • When using sysvinit (prior to Fedora9), you may confirm that the file /etc/inittab has a login entry for the requested serial port. For example:
    co:2345:respawn:/sbin/agetty ttyS1 115200 vt100-nav
  1. The file /etc/securetty contains a line matching the requested console