[LTP] [PATCH v3 2/7] shell: Remove old kernel version check
Petr Vorel
pvorel@suse.cz
Fri Dec 16 09:55:10 CET 2022
Hi Xu,
...
> +++ b/testcases/kernel/power_management/pm_include.sh
> @@ -15,21 +15,15 @@ cleanup() {
> fi
> }
> -check_kervel_arch() {
> - # Checking required kernel version and architecture
> - if tst_kvcmp -lt "2.6.21"; then
> - tst_brkm TCONF "Kernel version not supported; not " \
> - "running testcases"
> - else
> - case "$(uname -m)" in
> - i[4-6]86|x86_64)
> - ;;
> - *)
> - tst_brkm TCONF "Arch not supported; not running " \
> - "testcases"
> - ;;
> - esac
> - fi
> +check_arch() {
> + case "$(uname -m)" in
> + i[4-6]86|x86_64)
> + ;;
> + *)
> + tst_brkm TCONF "Arch not supported; not running " \
> + "testcases"
Could you please put this on single line?
tst_brkm TCONF "Arch not supported; not running testcases"
Can be done before merge.
Otherwise LGTM.
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Kind regards,
Petr
More information about the ltp
mailing list