aboutsummaryrefslogtreecommitdiff
path: root/scenario_groups
AgeCommit message (Collapse)Author
2019-10-29scenario_groups/default: remove fs_ext4 testPetr Vorel
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>
2019-09-02kernel/uevent: Add uevent01Cyril Hrubis
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>
2019-07-31scenario_groups/default: remove the timers testPo-Hsu Lin
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>
2019-07-02scenario_groups/default: run the kernel_misc lastPo-Hsu Lin
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>
2019-04-30scenario_groups/default: Add crypto into default runXiao Yang
Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com> Reviewed-by: Petr Vorel <pvorel@suse.cz> Acked-by: Cyril Hrubis <chrubis@suse.cz>
2018-10-15Remove the pipes runtest fileStanislav Kholmanskikh
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>
2018-10-15Revert "Remove the pipes runtest file"Stanislav Kholmanskikh
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>
2018-10-15Remove numa from the default scenarioStanislav Kholmanskikh
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>
2018-10-15Remove the pipes runtest fileStanislav Kholmanskikh
We have two almost identical runtest files: [root@localhost runtest]# diff ipc pipes 1c1 < #DESCRIPTION:Interprocess communication stress
2018-10-01delete_module*: Cleanup && Move to kernel/syscallsXiao Yang
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>
2018-10-01Remove admin_tools testPetr Vorel
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
2018-10-01net: Remove network_commands (ftp, ssh)Petr Vorel
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
2018-09-24change the default command file of networkSun Lianwen
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>
2017-07-19Add CVE .gitignore, Makefile and runtest filesRichard Palethorpe
Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
2017-02-13Update references with my old legal name/email to my current name/email addressNgie Cooper
No functional change Signed-off-by: Ngie Cooper <yaneurabeya@gmail.com>
2016-05-19network: rename runtest files, use 'net.' & 'net_stress.' prefixAlexey Kodanev
network.sh: also print usage help. Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
2016-05-03scenario_groups/default: Remove dma_thread_diotestCyril Hrubis
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>
2016-01-13Add testcases to test the kernel input stackCedric Hnyda
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>
2015-11-19controllers/cpuacct: remove obsolete cpuacctXiao Yang
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>
2015-10-22ipv6_lib: Add it into defaultZeng Linggang
Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
2014-09-24hotplug/cpu_hotplug: add it to run defaultXing Gu
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>
2014-07-22Make can testes' name more sanerZeng Linggang
* 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>
2014-06-16controllers/cpuacct: add cpuacct tests to default and somecleanupZeng Linggang
* 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>
2014-06-10dma_thread_diotest: add it to run defaultXiaoguang Wang
Signed-off-by: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com> Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
2014-04-26pipeio/pipeio.c: cleanup and add it to run defaultXiaoguang Wang
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>
2014-03-31fs/ext4-new-features: add ext4-new-features tests to defaultXiaoguang Wang
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>
2014-02-11module/delete_module: make delete_module tests run defaultXiaoguang Wang
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>
2013-07-01scenario_groups/default: Add kernel_miscCyril Hrubis
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
2010-11-16s/scenario-groups/scenario_groups/gGarrett Cooper
Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
2010-11-16Paint myself out of a corner I setup a year ago.Garrett Cooper
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>