From Fedora Project Wiki

(Created page with '{{QA/Test_Case |description=This test case checks the tuned-adm functionality. |setup= # Check that you have {{package|tuned}} installed: #:<pre>rpm -q tuned</pre> #* If not inst...')
 
No edit summary
Line 3: Line 3:
|setup=
|setup=
# Check that you have {{package|tuned}} installed:
# Check that you have {{package|tuned}} installed:
#:<pre>rpm -q tuned</pre>
#:<pre>$ rpm -q tuned</pre>
#* If not install it:
#* If not install it:
#:<pre>yum install tuned</pre>
#:<pre># yum install tuned</pre>
|actions=
|actions=
# Become root.
# List available profiles:
# List available profiles:
#:<pre>tuned-adm list</pre>
#:<pre># tuned-adm list</pre>
# Try to switch between profiles, e.g. for laptop-battery-powersave profile:
# Try to switch between profiles, e.g. for laptop-battery-powersave profile:
#:<pre>tuned-adm profile laptop-battery-powersave</pre>
#:<pre># tuned-adm profile laptop-battery-powersave</pre>
# Check if the profile was really set by:
# Check if the profile was really set by:
#:<pre>tuned-adm active</pre>
#:<pre># tuned-adm active</pre>
# Try several other profiles.
# Try several other profiles.
# When done switch tuned completely off by:
# When done switch tuned completely off by:
#:<pre>tuned-adm off</pre>
#:<pre># tuned-adm off</pre>
# Check if the tuned process is not left running by:
# Check if the tuned process is not left running by:
#:<pre>pgrep tuned</pre>
#:<pre># pgrep tuned</pre>


|results=
|results=

Revision as of 17:37, 19 March 2011

Description

This test case checks 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.