From Fedora Project Wiki

mNo edit summary
m (Minor wiki cleanup)
Line 1: Line 1:
= QA/TestCases/UserInterfaceSerial =
= Description =
 
== 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.}}


 
= Steps To Reproduce =
== 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


== Expected Results ==
= Expected Results =
1. The installation displays properly works over the serial line
* The installation displays properly works over the serial line
1. Confirm that a login console is presented over the serial device
* 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,  
* When using ''upstart'' (Fedora9), you may confirm that the serial device is configured for login by examining the output of ''initctl''.  For example,  
<pre>
<pre>serial (instance)
serial (instance)
(start) running, process 1116</pre>
(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: <pre>co:2345:respawn:/sbin/agetty ttyS1 115200 vt100-nav</pre>
</pre>
# The file ''/etc/securetty'' contains a line matching the requested console
* 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>
1. The file ''/etc/securetty'' contains a line matching the requested console


[[Category:Installer Test Cases|UserInterfaceSerial]]
[[Category:User Interface]]

Revision as of 16:23, 30 January 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.

Steps To Reproduce

  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