From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|description=This test case tests the tuned-adm functionality. | |description=This test case tests the tuned-adm functionality. | ||
|setup= | |setup= | ||
# Check that you have {{package|tuned}} installed: | # Check that you have {{package|tuned}} version 2 installed: | ||
#:<pre>$ rpm -q tuned</pre> | #:<pre>$ rpm -q tuned</pre> | ||
#:There must be installed tuned version 2 (not 1). | |||
#* If not install it: | #* If not install it: | ||
#:<pre># yum install tuned</pre> | #:<pre># yum install tuned</pre> | ||
|actions= | |actions= | ||
# List available profiles: | # Start tuned (via systemd): | ||
#:<pre># systemctl start tuned.service</pre> | |||
# List all available profiles: | |||
#:<pre># tuned-adm list</pre> | #:<pre># tuned-adm list</pre> | ||
# Try to switch between profiles, e.g. for | # Try to switch between profiles, e.g. for ''powersave'' profile: | ||
#:<pre># tuned-adm profile | #:<pre># tuned-adm profile 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 | #:<pre># systemctl stop tuned.service</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> |
Revision as of 14:15, 2 April 2012
Description
This test case tests the tuned-adm functionality.
Setup
- Check that you have
tuned
version 2 installed:$ rpm -q tuned
- There must be installed tuned version 2 (not 1).
- If not install it:
# yum install tuned
How to test
- Start tuned (via systemd):
# systemctl start tuned.service
- List all available profiles:
# tuned-adm list
- Try to switch between profiles, e.g. for powersave profile:
# tuned-adm profile powersave
- Check if the profile was really set by:
# tuned-adm active
- Try several other profiles.
- When done switch tuned completely off by:
# systemctl stop tuned.service
- 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.