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 if the pm-hibernate command is working properly.
|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=
# Become root.
# 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 your system by hitting the power button.
# Resume by hitting the power button.
   
   
|results=
|results=
# System correctly hibernates and resumes.
# 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

  1. Check that you have Package-x-generic-16.pngpm-utils installed:
    # rpm -q pm-utils
  2. Check your swap:
    $ free
    • Your swap size should be at least twice your RAM size.

How to test

  1. Run the following command:
    # pm-hibernate
  2. Wait for hibernation process to complete (it can take cca. 5-60 seconds).
  3. Resume by hitting the power button.

Expected Results

  1. System correctly hibernates.
  2. System correctly resumes.