From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This test case checks | |description=This test case checks hibernation via the pm-hibernate command. | ||
|setup= | |setup= | ||
# Check that you have {{package|pm-utils}} installed: | # Check that you have {{package|pm-utils}} installed: | ||
#:<pre>rpm -q pm-utils</pre> | #:<pre># rpm -q pm-utils</pre> | ||
# Check your swap: | # Check your swap: | ||
#:<pre>free</pre> | #:<pre>$ free</pre> | ||
#* Your swap size should be at least twice your RAM size. | #* Your swap size should be at least twice your RAM size. | ||
|actions= | |actions= | ||
# Run the following command: | # Run the following command: | ||
#:<pre>pm-hibernate</pre> | #:<pre># pm-hibernate</pre> | ||
# Wait for hibernation process to complete (it can take cca. 5-60 seconds). | # Wait for hibernation process to complete (it can take cca. 5-60 seconds). | ||
# Resume | # Resume by hitting the power button. | ||
|results= | |results= | ||
# System correctly hibernates | # System correctly hibernates. | ||
# System correctly resumes. | |||
}} | }} | ||
[[Category:Power_Management_Test_Cases]] | [[Category:Power_Management_Test_Cases]] |
Revision as of 17:10, 19 March 2011
Description
This test case checks hibernation via the pm-hibernate command.
Setup
- Check that you have
pm-utils
installed:# rpm -q pm-utils
- Check your swap:
$ free
- Your swap size should be at least twice your RAM size.
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.