QA:Testcase Power Management pm suspend

From FedoraProject

Jump to: navigation, search

Contents

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.