public inbox for linux-kselftest@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] selftests: openat2: migrate to kselftests harness
@ 2026-03-31 13:43 Aleksa Sarai
  2026-03-31 13:43 ` [PATCH 1/3] selftests: openat2: move helpers to header Aleksa Sarai
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Aleksa Sarai @ 2026-03-31 13:43 UTC (permalink / raw)
  To: Shuah Khan
  Cc: Christian Brauner, linux-fsdevel, linux-kernel, linux-kselftest,
	Aleksa Sarai, Aleksa Sarai

These tests were written in the early days of selftests' TAP support,
the more modern kselftest harness is much easier to follow and maintain.
The actual contents of the tests are unchanged by this change.

Signed-off-by: Aleksa Sarai <aleksa@amutable.com>
---
Aleksa Sarai (3):
      selftests: openat2: move helpers to header
      selftests: openat2: switch from custom ARRAY_LEN to ARRAY_SIZE
      selftests: openat2: migrate to kselftest harness

 tools/testing/selftests/openat2/Makefile           |   2 -
 tools/testing/selftests/openat2/helpers.c          | 109 ------
 tools/testing/selftests/openat2/helpers.h          | 164 ++++++---
 tools/testing/selftests/openat2/openat2_test.c     | 223 ++++++-------
 .../testing/selftests/openat2/rename_attack_test.c | 161 +++++----
 tools/testing/selftests/openat2/resolve_test.c     | 368 ++++++++++++---------
 6 files changed, 494 insertions(+), 533 deletions(-)
---
base-commit: 5e4e16d498eccca363db526433803932921dd74f
change-id: 20260317-openat2-selftests-kunit-6939af23ee27


Kind regards,
-- 
Aleksa Sarai
https://www.cyphar.com/


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

end of thread, other threads:[~2026-04-07 10:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-31 13:43 [PATCH 0/3] selftests: openat2: migrate to kselftests harness Aleksa Sarai
2026-03-31 13:43 ` [PATCH 1/3] selftests: openat2: move helpers to header Aleksa Sarai
2026-03-31 13:43 ` [PATCH 2/3] selftests: openat2: switch from custom ARRAY_LEN to ARRAY_SIZE Aleksa Sarai
2026-03-31 13:43 ` [PATCH 3/3] selftests: openat2: migrate to kselftest harness Aleksa Sarai
2026-03-31 14:27 ` [PATCH 0/3] selftests: openat2: migrate to kselftests harness Christian Brauner
2026-03-31 15:10   ` Aleksa Sarai
2026-04-07 10:31     ` Christian Brauner

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