* [LTP] [patch] kernel/zram: Fix testcase for kernels >= v4.7
[not found] <1474962167.15058.3.camel@suse.de>
@ 2016-09-27 11:19 ` Cyril Hrubis
2016-09-27 12:23 ` Mike Galbraith
0 siblings, 1 reply; 3+ messages in thread
From: Cyril Hrubis @ 2016-09-27 11:19 UTC (permalink / raw)
To: ltp
Hi!
> max_comp_streams is depreciated in kernels >= v4.7, bail instead
> of failing.
>
> Signed-off-by: Mike Galbraith <mgalbraith@suse.de>
> ---
> testcases/kernel/device-drivers/zram/zram_lib.sh | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/testcases/kernel/device-drivers/zram/zram_lib.sh b/testcases/kernel/device-drivers/zram/zram_lib.sh
> index d3e62e0dff43..2144227df001 100755
> --- a/testcases/kernel/device-drivers/zram/zram_lib.sh
> +++ b/testcases/kernel/device-drivers/zram/zram_lib.sh
> @@ -62,6 +62,14 @@ zram_load()
>
> zram_max_streams()
> {
> + tst_kvercmp 4 7 0
> + if [ $? -gt 0 ]; then
> + tst_resm TCONF "device attribute max_comp_streams is"\
> + "depriciated since kernel v4.7, the running kernel"\
> + "does not support it"
> + return
> + fi
> +
> tst_kvercmp 3 15 0
> if [ $? -eq 0 ]; then
> tst_resm TCONF "device attribute max_comp_streams is"\
Pushed, thanks.
BTW: The LTP mailing list is for quite some time hosted at
lists.linux.it. And all places in documentation should
have been fixed to point to it. Where did you find the
old address?
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 3+ messages in thread
* [LTP] [patch] kernel/zram: Fix testcase for kernels >= v4.7
2016-09-27 11:19 ` [LTP] [patch] kernel/zram: Fix testcase for kernels >= v4.7 Cyril Hrubis
@ 2016-09-27 12:23 ` Mike Galbraith
2016-09-27 12:49 ` Cyril Hrubis
0 siblings, 1 reply; 3+ messages in thread
From: Mike Galbraith @ 2016-09-27 12:23 UTC (permalink / raw)
To: ltp
On Tue, 2016-09-27 at 13:19 +0200, Cyril Hrubis wrote:
> BTW: The LTP mailing list is for quite some time hosted at
> lists.linux.it. And all places in documentation should
> have been fixed to point to it. Where did you find the
> old address?
Copy/pasted from a google search.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [LTP] [patch] kernel/zram: Fix testcase for kernels >= v4.7
2016-09-27 12:23 ` Mike Galbraith
@ 2016-09-27 12:49 ` Cyril Hrubis
0 siblings, 0 replies; 3+ messages in thread
From: Cyril Hrubis @ 2016-09-27 12:49 UTC (permalink / raw)
To: ltp
Hi!
> > BTW: The LTP mailing list is for quite some time hosted at
> > lists.linux.it. And all places in documentation should
> > have been fixed to point to it. Where did you find the
> > old address?
>
> Copy/pasted from a google search.
Hmm, that's not something I can fix :(
And FYI we even have up to date record in MAINTAINERS file, you can grep
it for "ltp" next time...
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-09-27 12:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1474962167.15058.3.camel@suse.de>
2016-09-27 11:19 ` [LTP] [patch] kernel/zram: Fix testcase for kernels >= v4.7 Cyril Hrubis
2016-09-27 12:23 ` Mike Galbraith
2016-09-27 12:49 ` Cyril Hrubis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.