2017-09-08 16:32:00

by Shuah Khan

[permalink] [raw]
Subject: [GIT PULL] Kselftest update for 4.14-rc1

Hi Linus,

Please pull the following Kselftest update for 4.14-rc1.

This update consists of:

-- TAP13 framework API and converting tests to TAP13 continues. A few
more tests are converted and kselftest common RUN_TESTS in lib.mk
is enhanced to print TAP13 to cover test shell scripts that won't
be able to use kselftest API.

-- Several fixes to existing tests to not fail in unsupported cases.
This has been an ongoing work based on the feedback from stable
release kselftest users.

-- A new watchdog test and much needed cleanups to the existing tests
from Eugeniu Rosca.

-- Changes to kselftest common lib.mk framework to make RUN_TESTS a
function to be called from individual test make files to run stress
and destructive sub-tests.

Diff for the update attached.

thanks,
-- Shuah

-----------------------------------------------------------------------------------
The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877:

Linux v4.13-rc1 (2017-07-15 15:22:10 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-4.14-rc1-update

for you to fetch changes up to 369130b63178e0e2f863a2da2a5ad0238ded6d9d:

selftests: Enhance kselftest_harness.h to print which assert failed (2017-09-05 19:21:33 -0600)

----------------------------------------------------------------
linux-kselftest-4.14-rc1-update

This update consists of:

-- TAP13 framework API and converting tests to TAP13 continues. A few
more tests are converted and kselftest common RUN_TESTS in lib.mk
is enhanced to print TAP13 to cover test shell scripts that won't
be able to use kselftest API.

-- Several fixes to existing tests to not fail in unsupported cases.
This has been an ongoing work based on the feedback from stable
release kselftest users.

-- A new watchdog test and much needed cleanups to the existing tests
from Eugeniu Rosca.

-- Changes to kselftest common lib.mk framework to make RUN_TESTS a
function to be called from individual test make files to run stress
and destructive sub-tests.

----------------------------------------------------------------
Benjamin Gaignard (1):
selftests/timers: make loop consistent with array size

Daniel Díaz (1):
selftests: Fix installation for splice test

Eugeniu Rosca (6):
selftests: watchdog: fix mixed whitespace
selftests: watchdog: use getopt_long()
selftests: watchdog: prefer strtoul() over atoi()
selftests: watchdog: point out ioctl() failures
selftests: watchdog: avoid keepalive flood
selftests: watchdog: get boot reason via WDIOC_GETBOOTSTATUS

Grygorii Strashko (1):
selftests: ptp: include default header install path

John Stultz (1):
kselftests: timers: leap-a-day: Change default arguments to help test runs

Li Zhijian (2):
selftests/cpu-hotplug: exit with failure when test occured unexpected behaviors
selftests/cpu-hotplug: Skip test when there is only one online cpu

Luis R. Rodriguez (1):
selftests: warn if failure is due to lack of executable bit

Lukáš Doktor (1):
rtc: rtctest: Improve support detection

Masami Hiramatsu (5):
selftests: ftrace: Do not failure if there is unsupported tests
selftests: ftrace: Add --fail-unsupported option
selftests: ftrace: Add more verbosity for immediate log
selftests: ftrace: Output only to console with "--logdir -"
selftests: ftrace: Check given string is not zero-length

Mickaël Salaün (1):
selftests: Enhance kselftest_harness.h to print which assert failed

Naresh Kamboju (1):
selftests/nsfs: create kconfig fragments

Orson Zhai (1):
selftests: memfd: Align STACK_SIZE for ARM AArch64 system

Shuah Khan (19):
selftests: breakpoint_test: Add missing line breaks
selftests: sync: differentiate between sync unsupported and access errors
selftests: kselftest framework: add API to return pass/fail/* counts
selftests: sync: convert to use TAP13 ksft framework
selftests: pstore: add .gitignore for generated files
selftests: splice: add .gitignore for generated files
selftests: sigaltstack: convert to use TAP13 ksft framework
selftests: capabilities: fix to run Non-root +ia, sgidroot => i test
selftests: capabilities: convert the test to use TAP13 ksft framework
selftests: kselftest framework: add error counter
selftests: capabilities: convert error output to TAP13 ksft framework
selftests: futex: convert test to use ksft TAP13 framework
selftests: timers: drop support for !KTEST case
selftests: timers: Fix run_destructive_tests target to handle skipped tests
selftests: timers: remove rtctest_setdate from run_destructive_tests
selftests: kselftest framework: change skip exit code to 0
selftests: lib.mk: suppress "cd" output from run_tests target
selftests: change lib.mk RUN_TESTS to take test list as an argument
selftests: lib.mk: change RUN_TESTS to print messages in TAP13 format

.../selftests/breakpoints/breakpoint_test.c | 4 +-
tools/testing/selftests/capabilities/test_execve.c | 193 ++++++++++++---------
.../testing/selftests/capabilities/validate_cap.c | 24 ++-
.../selftests/cpu-hotplug/cpu-on-off-test.sh | 14 ++
tools/testing/selftests/ftrace/ftracetest | 51 ++++--
.../selftests/futex/functional/futex_requeue_pi.c | 8 +-
.../functional/futex_requeue_pi_mismatched_ops.c | 3 +-
.../functional/futex_requeue_pi_signal_restart.c | 5 +-
.../functional/futex_wait_private_mapped_file.c | 6 +-
.../futex/functional/futex_wait_timeout.c | 5 +-
.../functional/futex_wait_uninitialized_heap.c | 3 +-
.../futex/functional/futex_wait_wouldblock.c | 3 +-
tools/testing/selftests/futex/include/logging.h | 20 +--
tools/testing/selftests/kselftest.h | 30 +++-
tools/testing/selftests/kselftest_harness.h | 39 ++++-
tools/testing/selftests/lib.mk | 17 +-
tools/testing/selftests/memfd/fuse_test.c | 2 +-
tools/testing/selftests/nsfs/config | 3 +
tools/testing/selftests/pstore/.gitignore | 2 +
tools/testing/selftests/ptp/Makefile | 1 +
tools/testing/selftests/seccomp/seccomp_bpf.c | 2 +-
tools/testing/selftests/sigaltstack/sas.c | 53 +++---
tools/testing/selftests/splice/.gitignore | 1 +
tools/testing/selftests/splice/Makefile | 5 +-
tools/testing/selftests/sync/sync_test.c | 71 +++++---
tools/testing/selftests/sync/synctest.h | 3 +-
tools/testing/selftests/timers/Makefile | 23 +--
tools/testing/selftests/timers/adjtick.c | 11 --
.../testing/selftests/timers/alarmtimer-suspend.c | 11 --
tools/testing/selftests/timers/change_skew.c | 11 --
.../testing/selftests/timers/clocksource-switch.c | 13 +-
.../testing/selftests/timers/inconsistency-check.c | 11 --
tools/testing/selftests/timers/leap-a-day.c | 28 +--
tools/testing/selftests/timers/leapcrash.c | 13 --
tools/testing/selftests/timers/mqueue-lat.c | 11 --
tools/testing/selftests/timers/nanosleep.c | 11 --
tools/testing/selftests/timers/nsleep-lat.c | 11 --
tools/testing/selftests/timers/raw_skew.c | 12 --
tools/testing/selftests/timers/rtctest.c | 7 +-
tools/testing/selftests/timers/set-2038.c | 11 --
tools/testing/selftests/timers/set-tai.c | 11 --
tools/testing/selftests/timers/set-timer-lat.c | 11 --
tools/testing/selftests/timers/set-tz.c | 11 --
tools/testing/selftests/timers/skew_consistency.c | 11 --
tools/testing/selftests/timers/threadtest.c | 12 --
tools/testing/selftests/timers/valid-adjtimex.c | 11 --
tools/testing/selftests/watchdog/watchdog-test.c | 190 ++++++++++++--------
47 files changed, 518 insertions(+), 491 deletions(-)
create mode 100644 tools/testing/selftests/nsfs/config
create mode 100644 tools/testing/selftests/pstore/.gitignore
create mode 100644 tools/testing/selftests/splice/.gitignore
-----------------------------------------------------------------------------------

--
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
[email protected]


Attachments:
linux-kselftest-4.14-rc1-update.diff (67.64 kB)