From Fedora Project Wiki
Description
This test case tests hibernation via the pm-hibernate command.
Setup
- Check that you have
pm-utils
installed:# rpm -q pm-utils
- Check that the hibernate is supported on your platform:
$ cat /sys/power/state
- If there is disk in the output, it signals that the hibernate is supported.
- Check your swap:
$ free
How to test
- Run the following command:
# pm-hibernate
- Wait for hibernation process to complete (it can take cca. 5-60 seconds).
- Resume by hitting the power button.
Expected Results
- System correctly hibernates.
- System correctly resumes.