[LTP] [PATCH 3/3] commands/keyctl01: Enable this test for RHEL6
Cyril Hrubis
chrubis@suse.cz
Fri Jul 7 15:13:44 CEST 2017
Hi!
> diff --git a/testcases/commands/keyctl/keyctl01.sh b/testcases/commands/keyctl/keyctl01.sh
> index 8ea2b25..40183b0 100644
> --- a/testcases/commands/keyctl/keyctl01.sh
> +++ b/testcases/commands/keyctl/keyctl01.sh
> @@ -37,8 +37,9 @@ TST_NEEDS_CMDS="keyctl"
>
> setup()
> {
> - if tst_kvcmp -le 2.6.33; then
> - tst_brk TCONF "Kernel newer than 2.6.33 is needed"
> + if tst_kvcmp -le '2.6.33 RHEL6:2.6.32-254'; then
> + tst_brk TCONF \
> + "Kernel newer than 2.6.33 or 2.6.32-254.el6 is needed"
I would be a bit happier if we could check if keyctl operations we need
for the test are supported (if that is reasonably easy to do) insetad of
listing minimal kernel versions per distribution.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list