From Fedora Project Wiki
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.