824296b6d08008ea9d3fa4fb36c98be3fd0f159f |
|
19-Oct-2017 |
Sandeep Patil <sspatil@google.com> |
Upgrade to LTP 20170929 A short log of commits merged as part of this is available in Merge list Bug: 67107373 No new disabled tests due to failure to build. New configuration(s) added in android/include/config.h: HAVE_STRUCT_MMSGHDR HAVE_STRUCT_UTSNAME_DOMAINNAME HAVE_STRUCT_XT_ENTRY_MATCH HAVE_STRUCT_XT_ENTRY_TARGET Following shows the new or deleted test suites in that will be run by 'vts': Deleted Added --------------------------------------------------------- fcntl-locktests_android cve Following shows the difference in testcases that will be run by 'vts': Deleted Added --------------------------------------------------------- net_stress.multicast.mcast4-grpope03 net_stress.multicast.mcast4-group-multiple-socket net_stress.multicast.mcast4-grpope02 net_stress.multicast.mcast6-group-same-group net_stress.multicast.mcast4-grpope01 net_stress.multicast.mcast4-group-source-filter net_stress.multicast.mcast4-grpope04 net_stress.multicast.mcast6-group-source-filter net_stress.multicast.mcast6-grpope01 net_stress.multicast.mcast4-group-single-socket net_stress.multicast.mcast6-grpope03 net_stress.multicast.mcast6-group-multiple-socket net_stress.multicast.mcast6-grpope02 net_stress.multicast.mcast6-group-single-socket net_stress.multicast.mcast6-grpope04 net_stress.multicast.mcast4-group-same-group syscalls.lseek03 syscalls.keyctl04 syscalls.lseek10 syscalls.keyctl05 syscalls.lseek06 syscalls.msync04 syscalls.lseek05 syscalls.cve-2017-6951 syscalls.lseek04 syscalls.fcntl36 syscalls.shmat03 syscalls.fcntl35 syscalls.lseek09 syscalls.clock_nanosleep02 syscalls.lseek08 syscalls.getsockopt02 syscalls.write02 syscalls.copy_file_range01 quickhit.lseek03 quickhit.lseek11 quickhit.lseek05 quickhit.lseek07 Change-Id: Ib7f5c927098193c28200f06fb4d82578944f1eb8 Signed-off-by: Sandeep Patil <sspatil@google.com>
|
a9cc53a4e6c203e9c925f4bfe2632bc300c9eee0 |
|
03-Aug-2017 |
Cyril Hrubis <chrubis@suse.cz> |
syscalls/vmsplice02: Convert to the new library Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/vmsplice/vmsplice02.c
|
817d8095fbfe5ebe22b29f58b7483f3d8d5e3fcc |
|
24-Jul-2017 |
Richard Palethorpe <rpalethorpe@suse.com> |
Rename linux_syscall_numbers.h to lapi/syscalls.h Move testcases/kernel/include/linux_syscall_numbers.h to lapi/syscalls.h so that it is easily accessible from the LTP library as well as the tests. Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com> Acked-by: Cyril Hrubis <chrubis@suse.cz> Acked-by: Jan Stancek <jstancek@redhat.com>
/external/ltp/testcases/kernel/syscalls/vmsplice/vmsplice02.c
|
a14f756d5890cee192f1cffe403b7607074a9b72 |
|
23-May-2017 |
Cyril Hrubis <chrubis@suse.cz> |
Unify MIN()/MAX() implementation + cleanup The oldlib tests had defined MIN() and MAX() macros via <sys/param.h> that was included from usctest.h that is included from test.h. This patch adds tst_minmax.h that has safer versions of these macros (expressions passed to the macros are evaluated only once) which is then included from both tst_test.h and test.h. Some of the testcases were relying on the usctest.h to include sys/param.h or indirecly include limits.h which is included from sys/param.h. This patch fixes such tests to include respective headers directly. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/vmsplice/vmsplice02.c
|
0ed5b6ad5eb85bc03840150d65f2a0eefd9c5f9c |
|
15-Jul-2016 |
Yuexi Ma <yuexima@google.com> |
patched the repo for a small set of succesfull build Change-Id: I03d2b4126c913c387e6c5cfbd07bd10e67ca805c
/external/ltp/testcases/kernel/syscalls/vmsplice/vmsplice02.c
|
ca67538f254e9394480881870b1e4c928947ba46 |
|
12-Apr-2016 |
Cyril Hrubis <chrubis@suse.cz> |
include/lapi/fcntl.h: Do not include tee and splice The newly added fcntl34 test uses newlib and includes lapi/fcntl.h. The fcntl header includes fallback defitions for splice and tee which are exposed on older distros. The fallback defitions calls ltp_syscall() that calls tst_brkm() which is not available under the newlibrary and hence the compilation fails. This commit removes the tee.h, splice.h, and vmsplice.h from fcntl.h and adds these directly to the testcases if needed. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/vmsplice/vmsplice02.c
|
bbdb9f78378c7e038f463efa39d2470e1c51ad54 |
|
16-Mar-2016 |
Cyril Hrubis <chrubis@suse.cz> |
lib: Add new test library API The main features are: o The cleanup callback is not passed directly to various library functions but is set once globally in the structure that describes a test - this makes the test API easier to use - also fixes a few common mistakes such as passing cleanup callback to functions executed from a cleanup o Most of the boilerplate code is moved to library - no more copying standard looping code around :) o Various resources are initialized and freed automatically when requested - this means much less race conditions and ordering problems in cleanups o The result reporting functions now use shared memory to propagate test results from child processes - writing tests in child processes is now easier than ever + The test-writing-guidelines.txt were updated Many thanks to Jan who reviewed numerous respins of this patches and provided valuable suggestions and also to Alexey who pointed out some stupid mistakes of mine. Reviewed-by: Jan Stancek <jstancek@redhat.com> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/vmsplice/vmsplice02.c
|
d6d11d08678aac1ed2c370ea8e42e5f45aea07be |
|
09-Mar-2015 |
Cyril Hrubis <chrubis@suse.cz> |
Introduce tst_parse_opts() The pattern that was used in all testcases is: const char *msg; msg = parse_opts(...); if (msg) tst_brkm(TBROK, NULL, "OPTION PARSING ERROR - %s", msg); This change simplifies the steps to just calling: tst_parse_opts(...); Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/vmsplice/vmsplice02.c
|
aabb8340f63ed31afe995fd97795e542dc68b93c |
|
04-Feb-2015 |
Cyril Hrubis <chrubis@suse.cz> |
Include usctest.h in test.h Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/vmsplice/vmsplice02.c
|
605fa3362fd7cef0baa2131be32cf44661783d3e |
|
04-Feb-2015 |
Cyril Hrubis <chrubis@suse.cz> |
Get rid of TEST_CLEANUP Special thanks to Coccinelle for making this easy job. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/vmsplice/vmsplice02.c
|
8dc8c1cc74ddf5ba8c63246d4c23c55bc4a679df |
|
23-Jun-2014 |
Xing Gu <gux.fnst@cn.fujitsu.com> |
vmsplice/vmsplice02.c: add EBADF and EINVAL error value tests Signed-off-by: Xing Gu <gux.fnst@cn.fujitsu.com>
/external/ltp/testcases/kernel/syscalls/vmsplice/vmsplice02.c
|