[GIT PULL] Kselftest fixes for v6.9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Linus,

Without reply from Shuah, and given the importance of these fixes [1], here is
a PR to fix Kselftest (broken since v6.9-rc1) for at least KVM, pidfd, and
Landlock.  I cannot test against all kselftests though.  This has been in
linux-next since the beginning of this week, and so far only one issue has been
reported [2] and fixed [3].

Feel free to take this PR if you see fit.

Regards,
 Mickaël

[1] https://lore.kernel.org/r/Zjo1xyhjmehsRhZ2@xxxxxxxxxx
[2] https://lore.kernel.org/r/202405100339.vfBe0t9C-lkp@xxxxxxxxx
[3] https://lore.kernel.org/r/20240511171445.904356-1-mic@xxxxxxxxxxx

--
The following changes since commit e67572cd2204894179d89bd7b984072f19313b03:

  Linux 6.9-rc6 (2024-04-28 13:47:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git tags/kselftest-fix-vfork-2024-05-12

for you to fetch changes up to 323feb3bdb67649bfa5614eb24ec9cb92a60cf33:

  selftests/harness: Handle TEST_F()'s explicit exit codes (2024-05-11 19:18:47 +0200)

----------------------------------------------------------------
Fix Kselftest's vfork() side effects

See https://lore.kernel.org/r/20240511171445.904356-1-mic@xxxxxxxxxxx

----------------------------------------------------------------
Mickaël Salaün (10):
      selftests/pidfd: Fix config for pidfd_setns_test
      selftests/landlock: Fix FS tests when run on a private mount point
      selftests/harness: Fix fixture teardown
      selftests/harness: Fix interleaved scheduling leading to race conditions
      selftests/landlock: Do not allocate memory in fixture data
      selftests/harness: Constify fixture variants
      selftests/pidfd: Fix wrong expectation
      selftests/harness: Share _metadata between forked processes
      selftests/harness: Fix vfork() side effects
      selftests/harness: Handle TEST_F()'s explicit exit codes

 tools/testing/selftests/kselftest_harness.h      | 127 +++++++++++++++++------
 tools/testing/selftests/landlock/fs_test.c       |  83 +++++++++------
 tools/testing/selftests/pidfd/config             |   2 +
 tools/testing/selftests/pidfd/pidfd_setns_test.c |   2 +-
 4 files changed, 147 insertions(+), 67 deletions(-)




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux