From: Sebastian Chlad <schlad@suse.de>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] commands: Remove all test cases
Date: Thu, 26 Apr 2018 16:49:28 +0200 [thread overview]
Message-ID: <20180426164928.6c86604e@linux-p5n0> (raw)
In-Reply-To: <b72b277b-e8e0-d69c-b918-bd48341c2a1d@oracle.com>
On Thu, 26 Apr 2018 17:28:30 +0300
Alexey Kodanev <alexey.kodanev@oracle.com> wrote:
> On 04/26/2018 04:24 PM, Sebastian Chlad wrote:
> > Test cases testing commands are often outdated or not maintained.
> > Those test cases also do not fit in with current LTP project status.
> >
> > Signed-off-by: Sebastian Chlad <schlad@suse.de>
> > ---
>
> Hi Sebastian,
>
> ...
>
> > diff --git a/testcases/commands/keyctl/keyctl01.sh
> > b/testcases/commands/keyctl/keyctl01.sh deleted file mode 100644
> > index 3fda3893b..000000000
> > --- a/testcases/commands/keyctl/keyctl01.sh
> > +++ /dev/null
> > @@ -1,126 +0,0 @@
> > -#!/bin/sh
> > -#
> > -# Copyright (c) 2017 Fujitsu Ltd.
> > -# Ported: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
> > -#
> > -# This program is free software; you can redistribute it and/or
> > modify -# it under the terms of the GNU General Public License as
> > published by -# the Free Software Foundation; either version 2 of
> > the License, or -# (at your option) any later version.
> > -#
> > -# This program is distributed in the hope that it would be useful,
> > -# but WITHOUT ANY WARRANTY; without even the implied warranty of
> > -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> > -# GNU General Public License for more details.
> > -#
> > -# You should have received a copy of the GNU General Public License
> > -# along with this program, if not, see
> > <http://www.gnu.org/licenses/>. -#
> > -# This is a regression test about potential uninitialized variable,
> > -# the test can crash the buggy kernel, and the bug has been fixed
> > in: -#
> > -# commit 38327424b40bcebe2de92d07312c89360ac9229a
> > -# Author: Dan Carpenter <dan.carpenter@oracle.com>
> > -# Date: Thu Jun 16 15:48:57 2016 +0100
> > -#
> > -# KEYS: potential uninitialized variable
> > -#
>
> ...
>
> > diff --git a/testcases/commands/sysctl/sysctl01.sh
> > b/testcases/commands/sysctl/sysctl01.sh deleted file mode 100755
> > index 7522da53d..000000000
> > --- a/testcases/commands/sysctl/sysctl01.sh
> > +++ /dev/null
> > @@ -1,55 +0,0 @@
> > -#!/bin/sh
> > -
> > -# Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
> > -# Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
> > -#
> > -# This program is free software; you can redistribute it and#or
> > modify -# it under the terms of the GNU General Public License as
> > published by -# the Free Software Foundation; either version 2 of
> > the License, or -# (at your option) any later version.
> > -#
> > -# This program is distributed in the hope that it will be useful,
> > but -# WITHOUT ANY WARRANTY; without even the implied warranty of
> > MERCHANTABILITY -# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> > General Public License -# for more details.
> > -#
> > -# You should have received a copy of the GNU General Public License
> > -# along with this program; if not, see
> > <http://www.gnu.org/licenses/>. -#
> > -# Description:
> > -# This is a regression test for invalid value of
> > sysctl_sched_time_avg. -# System will hang if user set
> > sysctl_sched_time_avg to 0 on buggy kernel. -#
> > -# The kernel bug has been fixed in kernel:
> > -# '5ccba44ba118("sched/sysctl: Check user input value of
> > sysctl_sched_time_avg")'
> > -
>
> And those tests also don't fit?
Sure, good point.
Honestly I just wanted to pick your brain and ask community what's the
best approach for commands testing.
One might also say - better leave them there and do not run them if you
are not happy with it. Sure.
So really over to community and maintainers to advise what would be the
best approach here.
next prev parent reply other threads:[~2018-04-26 14:49 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-26 13:24 [LTP] Commands test cases Sebastian Chlad
2018-04-26 13:24 ` [LTP] [PATCH] commands: Remove all " Sebastian Chlad
2018-04-26 13:47 ` Petr Vorel
2018-04-26 14:48 ` Sebastian Chlad
2018-04-27 2:59 ` Li Wang
2018-04-26 14:28 ` Alexey Kodanev
2018-04-26 14:49 ` Sebastian Chlad [this message]
2018-04-27 7:20 ` Jan Stancek
2018-04-27 7:41 ` Li Wang
2018-04-26 17:27 ` Petr Vorel
2018-04-27 0:35 ` Xiao Yang
2018-04-27 0:35 ` Xiao Yang
2018-04-27 7:02 ` Petr Vorel
2018-04-27 11:35 ` Cyril Hrubis
2018-04-27 11:37 ` Cyril Hrubis
2018-05-16 10:12 ` Petr Vorel
2018-05-25 14:36 ` Sebastian Chlad
2018-05-29 15:13 ` =?unknown-8bit?q?Myl=C3=A8ne?= Josserand
2018-05-30 9:31 ` Cyril Hrubis
2018-06-04 6:34 ` Petr Vorel
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=20180426164928.6c86604e@linux-p5n0 \
--to=schlad@suse.de \
--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