Age | Commit message (Collapse) | Author |
|
fs_ext4 test has been removed in commit 29f51a85.
Therefore remove it from the default scenario group.
Closes: #608
Fixes: 29f51a85 ("Delete New ext4 features tests and ffsb tool")
Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
|
|
Simple test that attached and detaches a file to a loop device and
checks that kernel broadcasts correct events to the kernel uevent
broadcast group.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Reviewed-by: Clemens Famulla-Conrad <cfamullaconrad@suse.de>
|
|
The timers tests were merged into syscalls in commit 0051eab2,
remove the no-longer-exists timers from default test plan.
Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Acked-by: Li Wang <liwang@redhat.com>
|
|
The block_dev test in kernel_misc will taint kernel with a warning flag,
this is an expected behaviour.
However, if you run the cve-2017-17053 after it, as the test is looking
for a warning / died flag for a tainted kernel, it will cause false
alarm with:
tst_taint.c:88: BROK: Kernel is already tainted: 14849
The kernel_misc test was executed before the cve test in the default
test plan. Move the kernel_misc test to the end of the list to
workaround this issue.
Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Acked-by: Cyril Hrubis <chrubis@suse.cz>
|
|
Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Acked-by: Cyril Hrubis <chrubis@suse.cz>
|
|
We have two almost identical runtest files:
[root@localhost runtest]# diff ipc pipes
1c1
< #DESCRIPTION:Interprocess communication stress
---
> #DESCRIPTION:IPC pipes stress
30,32d29
<
< sem01 sem01
< sem02 sem02
[root@localhost runtest]#
Since both are part of the default scenario, their common tests
are executed twice by LTP run. Let's fix that by removing the pipes file.
If one needs to execute only pipeio* test cases, he/she will still be able
to do it by executing the ipc file.
Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Acked-by: Cyril Hrubis <chrubis@suse.cz>
|
|
This reverts commit b8c9b0d326ef54f484cfe22878bc8df4304cfb5e,
since the commit message was truncated by 'git am'. I'm sorry
about that.
Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
|
|
Since the move_pages tests are in syscalls and numa01.sh is known
to be broken.
Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
|
|
We have two almost identical runtest files:
[root@localhost runtest]# diff ipc pipes
1c1
< #DESCRIPTION:Interprocess communication stress
|
|
1) Convert to new API && Cleanup
2) Move delete_module* tests to kernel/syscalls
Fix: #380
Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Acked-by: Cyril Hrubis <chrubis@suse.cz>
|
|
Removing cron, at, su related tests as they don't really fit into
"kernel testing", it'd be better to have them in some "LTP userspace"
project.
ACL are considered as "kernel tests", but it would be easier to write
something from scratch, thus remove them as well.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
Acked-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Acked-by: Jan Stancek <jstancek@redhat.com>
Acked-by: Cyril Hrubis <chrubis@suse.cz
|
|
network_commands contains ftp and ssh login tests as a part of EAL2
testsuite. Removing them as they don't really fit into "kernel testing",
it'd be better to have them in some "LTP userspace" project.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
Acked-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Acked-by: Jan Stancek <jstancek@redhat.com>
Acked-by: Cyril Hrubis <chrubis@suse.cz
|
|
The options -N of runltp means "Run all the networking tests", and when
exec runltp -N and no command files were provied, the cmmand file of
"$LTPROOT/scenario_groups/network" should execute, so the the "$LTPROOT/
scenario_groups/network" should include the all the networking tests.
Signed-off-by: Sun Lianwen <sunlw.fnst@cn.fujitsu.com>
Acked-by: Petr Vorel <pvorel@suse.cz>
|
|
Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
|
|
No functional change
Signed-off-by: Ngie Cooper <yaneurabeya@gmail.com>
|
|
network.sh: also print usage help.
Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
|
|
Looks like there is no interest in fixing the race between fork() and
direct I/O between the kernel devs [1]. Even the open.2 manual page
states that this is a known problem and that it leads to undefined
behavior. This renders these testcases useless. They fail but that's all
we can do about it.
So let's disable the testcases from default run for now.
We may either try to change them to use madvise(MAD_DONTFORK) or shared
mapping for the buffers which are suggested workarounds, or remove them
completely.
[1] http://www.spinics.net/lists/linux-mm/msg75488.html
The issue was recently brought up in LTP GitHub issue #63.
(It's fairly easy to reproduce with a ext3 fs, for me with 2GB loopback
all of the dma_thread_diotest have failed every time.)
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
|
|
1) Create a virtual mouse and write in /dev/uinput and
check that the data is well received in /dev/input/eventX
2) Create a virtual mouse, write in /dev/uinput, grab the
device and check that the data are not received in other
proccess.
3) Create a virtual mouse and check that the data are well
received in /dev/input/mice
4) Create a virtual mouse and send empty moves: check that
nothing is received in /dev/input/eventX
5) Create a virtual mouse and send events which cannot be
sent and check that they are not received in eventX
6) Test auto-repeat
Signed-off-by: Cedric Hnyda <chnyda@suse.com>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
|
|
Remove obsolete testcase cpuacct since it has been rewritten.
Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Acked-by: Cyril Hrubis <chrubis@suse.cz>
|
|
Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
|
|
Fix test cases' exit status with TCONF on single cpu
machine, and add it to run default.
Signed-off-by: Xing Gu <gux.fnst@cn.fujitsu.com>
|
|
* Add can to scenario_groups/default.
* Add can_filter and can_rcv_own_msgs to network/.gitignore.
* Make the test's name more saner:
tst-filter.c --> can_filter.c
tst-rcv-own-msgs.c --> can_rcv_own_msgs.c
run_ltp-can_tests.sh --> can_run_tests.sh
Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
|
|
* Change the entry like:
cpuacct01 run_cpuacct_test.sh 1
cpuacct02 run_cpuacct_test.sh 2
* Add cpuacct tests to scenario_groups/default
* Add umount_cpuacct_mounted function for umount cpuacct mounted
* Make use of tst_require_root, exists and tst_resm
* Some cleanup
Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
|
|
Signed-off-by: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
|
Delete some useless comments and fix some.
Use SAFE_* macros.
Make a re-arrangement on original code: let parent process
work in do_parent(), child process work in do_child(), and
arguments parse and initialization work in setup().
Delete several useless or pointless options:
Option C: this option is not supported and has no effect to this test.
Option B: if this option is specified, the parent process will always
return 0, which won't reflect the correct test results. I think it does
not make much sense and remove it.
Option d: this option is used to specify a directory, where named pipe
is created, other than the current directory. Since tst_tmpdir() will
create a temporary directory, so I think "-d" option can be removed.
printf() is not async-signal-safe, so use write(2) in signal handler directly.
Some cleanup.
Signed-off-by: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com>
Acked-by: Jan Stancek <jstancek@redhat.com>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
|
Remove run_ext4_test.sh which calls all feature tests directly.
Now we treat every feature as a signle test in fs_ext4 runtest file,
keep one entry per test.
Like that:
ext4-nsec-timestamps ext4_nsec_timestamps_test.sh
ext4-uninit-groups ext4_uninit_groups_test.sh
Configure script has been removed and ffsb has been moved to utils directory.
If want to run these tests, user should specify a big block device
when running runltp script.
Currently enable ext4-nsec-timestamps, ext4-persist-prealloc,
ext4-subdir-limit, ext4-uninit-groups test.
Signed-off-by: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com>
|
|
module/delete_module/Makefile: make some fixes to conform to
module compile in kernel 2.6 series and higher
testcases/kernel/Makefile: make it include module test
Signed-off-by: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
|
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
|
|
Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
|
|
Directories with dashes aren't allowed in the top-level Makefile because
they're used as delimiters to separate the directories from the logical
targets, i.e. scenario_groups-{all,clean,install}.
Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
|