public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v2 0/6] add open/openat + O_TMPFILE tests
@ 2016-01-28 12:28 Alexey Kodanev
  2016-01-28 12:28 ` [LTP] [PATCH v2 1/6] lib/tst_dir_is_empty: add a library function Alexey Kodanev
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Alexey Kodanev @ 2016-01-28 12:28 UTC (permalink / raw)
  To: ltp

v2:
* move dir_not_empty() -> tst_dir_is_empty() to a library,
* add SAFE_LINKAT, SAFE_READLINK macros,
* move O_TMPFILE definition to lapi/fcntl.h
* use relative path for test_dir,
* enable len_strict in SAFE_WRITE,
* set constant buffer size.

Alexey Kodanev (6):
  lib/tst_dir_is_empty: add a library function
  include/lapi/fcntl.h: add O_TMPFILE definition
  lib/safe_macros: add linkat()
  lib/safe_macros: add readlink()
  kernel/syscalls: add new test with 'open() + O_TMPFILE'
  kernel/syscalls/open14: openat03: add new test-cases

 include/lapi/fcntl.h                        |    4 +
 include/safe_macros.h                       |   13 ++
 include/test.h                              |    8 +
 lib/safe_macros.c                           |   35 ++++
 lib/tst_dir_is_empty.c                      |   49 +++++
 runtest/syscalls                            |    2 +
 testcases/kernel/syscalls/.gitignore        |    2 +
 testcases/kernel/syscalls/open/open14.c     |  253 +++++++++++++++++++++++++++
 testcases/kernel/syscalls/openat/openat03.c |  252 ++++++++++++++++++++++++++
 9 files changed, 618 insertions(+), 0 deletions(-)
 create mode 100644 lib/tst_dir_is_empty.c
 create mode 100644 testcases/kernel/syscalls/open/open14.c
 create mode 100644 testcases/kernel/syscalls/openat/openat03.c


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

end of thread, other threads:[~2016-01-28 15:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-28 12:28 [LTP] [PATCH v2 0/6] add open/openat + O_TMPFILE tests Alexey Kodanev
2016-01-28 12:28 ` [LTP] [PATCH v2 1/6] lib/tst_dir_is_empty: add a library function Alexey Kodanev
2016-01-28 12:28 ` [LTP] [PATCH v2 2/6] include/lapi/fcntl.h: add O_TMPFILE definition Alexey Kodanev
2016-01-28 12:28 ` [LTP] [PATCH v2 3/6] lib/safe_macros: add linkat() Alexey Kodanev
2016-01-28 12:28 ` [LTP] [PATCH v2 4/6] lib/safe_macros: add readlink() Alexey Kodanev
2016-01-28 12:28 ` [LTP] [PATCH v2 5/6] kernel/syscalls: add new test with 'open() + O_TMPFILE' Alexey Kodanev
2016-01-28 13:41   ` Cyril Hrubis
2016-01-28 12:28 ` [LTP] [PATCH v2 6/6] kernel/syscalls/open14: openat03: add new test-cases Alexey Kodanev
2016-01-28 14:01   ` Cyril Hrubis
2016-01-28 15:28     ` Alexey Kodanev

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