QA:Testcase initialization basic

From FedoraProject

Jump to: navigation, search

Description

This test case checks the basic boot process.


How to test

  1. Perform a clean, graphical installation of the Fedora release you wish to test
  2. Boot the installed system
  3. Shut down the system
  4. Boot the installed system with each of the following kernel parameters, in turn: 1, 2, 3, 4, 5, single, S, s, -s. During one of the single user mode boots, exit single user mode and observe the result. Try both shutdown and reboot operations in between boots
  5. Configure the system to boot to console (runlevel 3), using the recommended method for the initialization system in use (for systemd, run the command ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target), and reboot the system with none of the above kernel parameters

Expected Results

  1. The first boot of the installed system should boot to a graphical login manager, and the graphical login sequence should be displayed during boot (if the tested system configuration is capable of it)
  2. Booting with kernel parameters 1, 2, 3, 4 and 5 should boot to those runlevels, or their equivalents under an init system that does not implement runlevels directly. Booting with kernel parameters 1, single, S, s or -s should boot to single user mode (and this mode should be usable). You can use runlevel or who -r to check current runlevel.
  3. Exiting single user mode should result in the system returning to the default boot state
  4. The system should correctly boot to a console when configured to do so
  5. When booted to console mode, six gettys should be run, on tty1-6 (so ctrl-alt-f1 through ctrl-alt-f6 should all lead to separate, numbered login prompts). When booted to graphical mode, five gettys should be run, on tty2-6, and X should be started on a different tty (usually 1 or 7)
  6. System boot, shutdown and restart operations should be logged by ConsoleKit (in /var/log/ConsoleKit/history)