From Fedora Project Wiki
mNo edit summary |
(Write a test case) |
||
Line 1: | Line 1: | ||
{{Template:Associated_release_criterion|Basic|shutdown}} | {{Template:Associated_release_criterion|Basic|shutdown}} | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This test case tests if the system can be halted, rebooted or powered off by using CLI command to control the process. | |description=This test case tests if the system can be '''halted''', '''rebooted''' or '''powered off''' by using CLI command to control the process. | ||
|actions= | |actions= | ||
# Clean boot the Fedora you wish to test: this could be a system installed from a particular snapshot, pre-release, or release, or a live image. It should be an image for which updates will be available (or you can downgrade a package after installation). | # Clean boot the Fedora you wish to test: this could be a system installed from a particular snapshot, pre-release, or release, or a live image. It should be an image for which updates will be available (or you can downgrade a package after installation). | ||
# Open a console, | # Open a virtual console (press '''Ctrl-Alt-F2'''). | ||
# Login as the root user, or as a user with '''sudo''' rights. | |||
# Halt the system using the `halt` command when logged in as root, or `sudo halt` otherwise. | |||
# Reboot (restart) the system. | |||
# Repeat previous steps, using the `reboot` and `poweroff` commands. | |||
# Shut the running system down using the `shutdown now` command entered as a non-root user. | |||
|results= | |results= | ||
# The | # The system should accept all commands and show an adequate reaction. | ||
# Using the `halt` command, the system goes down, but the machine stays on. You will be able to see the results of the process listed on the screen. All file-systems must be cleanly unmounted. No error messages should be listed. If you see an error message, report a bug. | |||
# Using the `reboot` command, the system reboots without any user interaction and displays a login prompt (graphical or text). | |||
# The system must boot without errors and all expected disk partititions and filesystems must be cleanly mounted. | |||
# Using the `poweroff` and `shutdown now` commands makes the system go down and switches off the machine completely. | |||
}} | }} |
Latest revision as of 12:18, 1 February 2019
Description
This test case tests if the system can be halted, rebooted or powered off by using CLI command to control the process.
How to test
- Clean boot the Fedora you wish to test: this could be a system installed from a particular snapshot, pre-release, or release, or a live image. It should be an image for which updates will be available (or you can downgrade a package after installation).
- Open a virtual console (press Ctrl-Alt-F2).
- Login as the root user, or as a user with sudo rights.
- Halt the system using the
halt
command when logged in as root, orsudo halt
otherwise. - Reboot (restart) the system.
- Repeat previous steps, using the
reboot
andpoweroff
commands. - Shut the running system down using the
shutdown now
command entered as a non-root user.
Expected Results
- The system should accept all commands and show an adequate reaction.
- Using the
halt
command, the system goes down, but the machine stays on. You will be able to see the results of the process listed on the screen. All file-systems must be cleanly unmounted. No error messages should be listed. If you see an error message, report a bug. - Using the
reboot
command, the system reboots without any user interaction and displays a login prompt (graphical or text). - The system must boot without errors and all expected disk partititions and filesystems must be cleanly mounted.
- Using the
poweroff
andshutdown now
commands makes the system go down and switches off the machine completely.