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-suspend command is working properly.
|description=This test case checks 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>
|actions=
|actions=
# Become root.
# Run the following command:
# Run the following command:
#:<pre>pm-suspend</pre>
#:<pre># pm-suspend</pre>
# Wait until the system suspends (it can take several seconds).
# Wait until the system suspends (it can take several seconds).
# Wake-up your system by e.g. hitting the power button.
# 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]]

Revision as of 17:05, 19 March 2011

Description

This test case checks the pm-suspend command.

Setup

  1. Check that you have Package-x-generic-16.pngpm-utils installed:
    $ rpm -q pm-utils

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.