From: Cristian Marussi <cristian.marussi@arm.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2 1/4] cgroup_regression_test.sh ported to newlib
Date: Fri, 21 Dec 2018 15:20:24 +0000 [thread overview]
Message-ID: <b664fcee-17b8-dea2-313a-0b73e11651c8@arm.com> (raw)
In-Reply-To: <20181221142538.GB22257@dell5510>
Hi
On 21/12/2018 14:25, Petr Vorel wrote:
> Hi Cristian,
>
> ...
>> --- a/testcases/kernel/controllers/cgroup/cgroup_regression_test.sh
>> {
>> grep -q -w "ns" /proc/cgroups
>> if [ $? -ne 0 ]; then
>> - tst_resm TCONF "CONFIG_CGROUP_NS"
>> + tst_res TCONF "CONFIG_CGROUP_NS"
>> return
>> fi
>
> This could be just
>
> grep -q -w "ns" /proc/cgroups || tst_res TCONF "CONFIG_CGROUP_NS is not enabled"
>
> But CONFIG_CGROUP_NS was removed in a77aea92010a ("cgroup: remove the ns_cgroup")
> in v3.0. We don't have TST_MAX_KVER, so we cannot use TST_MAX_KVER="3.0", but
> maybe compare kernel version with tst_kvcmp (see doc) and adjust warning for new kernels.
Fine I'll do. In fact I could see it working properly only when testing on QEMU
2.6.39.
Regards
Cristian
>
> Kind regards,
> Petr
>
next prev parent reply other threads:[~2018-12-21 15:20 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-20 18:21 [LTP] [PATCH v2 0/4] cgroup tests newlib-porting Cristian Marussi
2018-12-20 18:21 ` [LTP] [PATCH v2 1/4] cgroup_regression_test.sh ported to newlib Cristian Marussi
2018-12-21 14:25 ` Petr Vorel
2018-12-21 15:20 ` Cristian Marussi [this message]
2018-12-21 18:23 ` Cristian Marussi
2018-12-21 14:35 ` Petr Vorel
2018-12-21 15:27 ` Cristian Marussi
2018-12-20 18:21 ` [LTP] [PATCH v2 2/4] cgroup_regression_test.sh cleanup Cristian Marussi
2018-12-20 18:21 ` [LTP] [PATCH v2 3/4] cgroup_regression_test.sh: added helper Cristian Marussi
2018-12-20 18:21 ` [LTP] [PATCH v2 4/4] cgroup: helpers various fixes Cristian Marussi
2018-12-21 14:01 ` Petr Vorel
2018-12-21 15:29 ` Cristian Marussi
2018-12-21 18:23 ` Cristian Marussi
2018-12-21 13:39 ` [LTP] [PATCH v2 0/4] cgroup tests newlib-porting Petr Vorel
2018-12-21 15:36 ` Cristian Marussi
2018-12-21 15:47 ` Petr Vorel
2018-12-21 18:23 ` Cristian Marussi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b664fcee-17b8-dea2-313a-0b73e11651c8@arm.com \
--to=cristian.marussi@arm.com \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox