ltp icon indicating copy to clipboard operation
ltp copied to clipboard

shell: add kernel version check

Open yup-21 opened this issue 2 years ago • 2 comments

the "sched_mc_power_savings" interface has been removed since kernel version 3.5, fix patch 8e7fbcb("sched: Remove stale power aware scheduling remnants and dysfunctional knobs"). do not execute this testcase on kernel versions 3.5 and above.

Signed-off-by: pengyu [email protected]

yup-21 avatar Feb 23 '23 08:02 yup-21

The minimal kernel version the current LTP head supports is 3.10 see doc/supported-kernel-libc-versions.txt so there is no point in keeping tests for interface removed in 3.5, we should remove these tests instead.

metan-ucw avatar Jul 03 '23 14:07 metan-ucw

FYI that file is mapped to online docs: https://github.com/linux-test-project/ltp/wiki/Supported-kernel,-libc,-toolchain-versions#13-minimal-supported-kernel-version.

pevik avatar Jul 04 '23 07:07 pevik