From Fedora Project Wiki

Revision as of 23:42, 19 March 2011 by Jskarvad (talk | contribs)

Description

This test case tests the tuned-adm functionality.

Setup

  1. Check that you have tuned installed:
    $ rpm -q tuned
    • If not install it:
    # yum install tuned

How to test

  1. List available profiles:
    # tuned-adm list
  2. Try to switch between profiles, e.g. for laptop-battery-powersave profile:
    # tuned-adm profile laptop-battery-powersave
  3. Check if the profile was really set by:
    # tuned-adm active
  4. Try several other profiles.
  5. When done switch tuned completely off by:
    # tuned-adm off
  6. Check if the tuned process is not left running by:
    # pgrep tuned

Expected Results

  1. No errors while switching profiles.
  2. No left tuned process when switched off.