From Fedora Project Wiki

No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test case checks if the pm-suspend command is working properly.
|description=This test case tests suspending via the pm-suspend 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 that the suspend is supported on your platform:
#:<pre>$ cat /sys/power/state</pre>
#:If there is ''mem'' in the output, it signals that the suspend is supported.
|actions=
|actions=
# Become root.
# Run the following command:
# Run the following command:
#:<pre>pm-suspend</pre>
#:<pre># pm-suspend</pre>
# Wake-up your system by e.g. hitting the power button.
# Wait until the system suspends (it can take several seconds).
# Wake-up your system by e.g. hitting the power button (or maybe another button depending on your HW).
   
   
|results=
|results=
# System correctly suspends and resumes.
# System correctly suspends.
# After wake-up system correctly resumes.
# NetworkManager re-establishes a network connection.  
}}
}}


[[Category:Power_Management_Test_Cases]]
[[Category:Power_Management_Test_Cases]]

Latest revision as of 12:55, 27 September 2011

Description

This test case tests suspending via the pm-suspend command.

Setup

  1. Check that you have Package-x-generic-16.pngpm-utils installed:
    $ rpm -q pm-utils
  2. Check that the suspend is supported on your platform:
    $ cat /sys/power/state
    If there is mem in the output, it signals that the suspend is supported.

How to test

  1. Run the following command:
    # pm-suspend
  2. Wait until the system suspends (it can take several seconds).
  3. Wake-up your system by e.g. hitting the power button (or maybe another button depending on your HW).

Expected Results

  1. System correctly suspends.
  2. After wake-up system correctly resumes.
  3. NetworkManager re-establishes a network connection.