public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/6] Miscellaneous fixes for Android systems
@ 2017-11-09  0:34 Sandeep Patil
  2017-11-09  0:34 ` [LTP] [PATCH v2 1/6] syscalls/cma: Make process_vm_{readv, writev} tests bionic friendly Sandeep Patil
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Sandeep Patil @ 2017-11-09  0:34 UTC (permalink / raw)
  To: ltp

Hello,

We have been running LTP on Android systems and found there are a bunch of
tests that don't work. Most common reasons are (but not limited to):
 - Lack of tools that LTP tests sometimes expects (e.g. mkfs.extN)
 - Different directory structure or location for device nodes
   (e.g. /dev/block/loopX instead of /dev/loopX)
 - Tests depend on Sys V IPC that Android doesn't use / support.

This series fixes some of those tests to make sure they start working on
Android systems. I've also clubbed the v2 of a couple of patches in this
series that they are clearly annotated as such.


Sandeep Patil (6):
  syscalls/cma: Make process_vm_{readv, writev} tests bionic friendly
  mm: mallocstress: use safe macros wherever possible
  mm: mallocstress: use futexes instead of SysV semaphores
  direct_io: diotest4: use getpagesize() for mmap if shm header is
    absent
  syscalls/mkdir03: convert to new API and use .needsrofs for EROFS
    check
  lib: mkfs: use 'mke2fs' on android systems for formatting filesystems

 configure.ac                                       |   1 +
 include/lapi/mmap.h                                |   8 ++
 lib/tst_mkfs.c                                     |  16 +++
 testcases/kernel/io/direct_io/diotest4.c           |   4 +-
 testcases/kernel/mem/mtest07/mallocstress.c        | 101 +++++---------
 testcases/kernel/syscalls/cma/process_vm.h         |  38 ------
 testcases/kernel/syscalls/cma/process_vm_readv02.c |  10 +-
 testcases/kernel/syscalls/cma/process_vm_readv03.c |  10 +-
 .../kernel/syscalls/cma/process_vm_writev02.c      |  10 +-
 testcases/kernel/syscalls/mkdir/mkdir03.c          | 147 ++++++---------------
 10 files changed, 115 insertions(+), 230 deletions(-)

-- 
2.15.0.448.gf294e3d99a-goog


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-11-10 19:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-09  0:34 [LTP] [PATCH 0/6] Miscellaneous fixes for Android systems Sandeep Patil
2017-11-09  0:34 ` [LTP] [PATCH v2 1/6] syscalls/cma: Make process_vm_{readv, writev} tests bionic friendly Sandeep Patil
2017-11-10  9:14   ` Jan Stancek
2017-11-09  0:34 ` [LTP] [PATCH 2/6] mm: mallocstress: use safe macros wherever possible Sandeep Patil
2017-11-10  9:41   ` Jan Stancek
2017-11-09  0:34 ` [LTP] [PATCH 3/6] mm: mallocstress: use futexes instead of SysV semaphores Sandeep Patil
2017-11-09  0:34 ` [LTP] [PATCH v2 4/6] direct_io: diotest4: use getpagesize() for mmap if shm header is absent Sandeep Patil
2017-11-10  9:54   ` Jan Stancek
2017-11-09  0:34 ` [LTP] [PATCH 5/6] syscalls/mkdir03: convert to new API and use .needsrofs for EROFS check Sandeep Patil
2017-11-10 11:21   ` Jan Stancek
2017-11-09  0:34 ` [LTP] [PATCH 6/6] lib: mkfs: use 'mke2fs' on android systems for formatting filesystems Sandeep Patil
2017-11-10 14:48   ` Jan Stancek
2017-11-10 19:23     ` Sandeep Patil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox