aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/ktest
diff options
context:
space:
mode:
authorDaniel Díaz <daniel.diaz@linaro.org>2018-04-10 17:11:15 -0500
committerShuah Khan (Samsung OSG) <shuah@kernel.org>2018-05-30 15:29:07 -0600
commite9d33f149f52981fd856a0b16aa8ebda89b02e34 (patch)
tree9d3e969bf261d6e7e42cd6a2921d9315d0d7dec7 /tools/testing/ktest
parentselftests: cgroup/memcontrol: add basic test for swap controls (diff)
downloadlinux-dev-e9d33f149f52981fd856a0b16aa8ebda89b02e34.tar.xz
linux-dev-e9d33f149f52981fd856a0b16aa8ebda89b02e34.zip
selftests/intel_pstate: Improve test, minor fixes
A few changes improve the overall usability of the test: * fix a hard-coded maximum frequency (3300), * don't adjust the CPU frequency if only evaluating results, * fix a comparison for multiple frequencies. A symptom of that last issue looked like this: ./run.sh: line 107: [: too many arguments ./run.sh: line 110: 3099 3099 3100-3100: syntax error in expression (error token is \"3099 3100-3100\") Because a check will count how many differente frequencies there are among the CPUs of the system, and after they are tallied another read is performed, which might produce different results. Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Diffstat (limited to 'tools/testing/ktest')
0 files changed, 0 insertions, 0 deletions