From Fedora Project Wiki
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This test case | |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= | ||
# Run the following command: | # Run the following command: |
Latest revision as of 12:55, 27 September 2011
Description
This test case tests suspending via the pm-suspend command.
Setup
- Check that you have
pm-utils
installed:$ rpm -q pm-utils
- 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
- Run the following command:
# pm-suspend
- 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).
Expected Results
- System correctly suspends.
- After wake-up system correctly resumes.
- NetworkManager re-establishes a network connection.