tests: added basic functionality test
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
ec4f8630ad
commit
c909f7f15a
1 changed files with 12 additions and 0 deletions
12
tests/func_basic.sh
Executable file
12
tests/func_basic.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
systemctl restart tuned
|
||||
tuned-adm recommend
|
||||
PROFILES=`tuned-adm list | sed -n '/^\-/ s/^- // p'`
|
||||
for p in $PROFILES
|
||||
do
|
||||
tuned-adm profile "$p"
|
||||
sleep 5
|
||||
tuned-adm active
|
||||
done
|
||||
tuned-adm profile `tuned-adm recommend`
|
||||
Loading…
Reference in a new issue