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= | ||
# 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
- Check that you have
tuned
installed:$ rpm -q tuned
- If not install it:
# yum install tuned
How to test
- List available profiles:
# tuned-adm list
- Try to switch between profiles, e.g. for laptop-battery-powersave profile:
# tuned-adm profile laptop-battery-powersave
- Check if the profile was really set by:
# tuned-adm active
- Try several other profiles.
- When done switch tuned completely off by:
# tuned-adm off
- Check if the tuned process is not left running by:
# pgrep tuned
Expected Results
- No errors while switching profiles.
- No left tuned process when switched off.