linux/arch
Kir Chou bf45794244 lib/glob: convert selftest to KUnit
This patch converts the existing glob selftest (lib/globtest.c) to use the
KUnit framework (lib/tests/glob_kunit.c).

The new test:

- Migrates all 64 test cases from the original test to the KUnit suite.
- Removes the custom 'verbose' module parameter as KUnit handles logging.
- Updates Kconfig.debug and Makefile to support the new KUnit test.
- Updates Kconfig and Makefile to remove the original selftest.
- Updates GLOB_SELFTEST to GLOB_KUNIT_TEST for arch/m68k/configs.

This commit is verified by `./tools/testing/kunit/kunit.py run'
with the .kunit/.kunitconfig:

CONFIG_KUNIT=y
CONFIG_GLOB_KUNIT_TEST=y

Link: https://lkml.kernel.org/r/20260108120753.27339-1-note351@hotmail.com
Signed-off-by: Kir Chou <note351@hotmail.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: David Gow <davidgow@google.com>
Reviewed-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Cc: <kirchou@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2026-01-26 19:07:13 -08:00
..
alpha alpha updates for v6.19 2025-12-11 08:01:52 +09:00
arc Ext4 bug fixes for 6.18-rc2, including 2025-10-15 07:51:57 -07:00
arm watchdog: softlockup: panic when lockup duration exceeds N thresholds 2026-01-20 19:44:20 -08:00
arm64 kallsyms/bpf: rename __bpf_address_lookup() to bpf_address_lookup() 2026-01-20 19:44:22 -08:00
csky csky 6.19 Release Notes 2025-12-10 12:17:29 +09:00
hexagon This update includes the following changes: 2025-12-03 11:28:38 -08:00
loongarch kallsyms/bpf: rename __bpf_address_lookup() to bpf_address_lookup() 2026-01-20 19:44:22 -08:00
m68k lib/glob: convert selftest to KUnit 2026-01-26 19:07:13 -08:00
microblaze arch: hookup listns() system call 2025-11-03 17:41:18 +01:00
mips kernel.h: drop hex.h and update all hex.h users 2026-01-20 19:44:19 -08:00
nios2 arch/nios2: replace "__auto_type" and adjacent equivalent with "auto" 2025-12-08 15:32:15 -08:00
openrisc watchdog: softlockup: panic when lockup duration exceeds N thresholds 2026-01-20 19:44:20 -08:00
parisc TTY/Serial changes for 6.19-rc1 2025-12-06 18:38:19 -08:00
powerpc lib/tests: convert test_min_heap module to KUnit 2026-01-26 19:07:10 -08:00
riscv bpf-fixes 2026-01-13 21:21:13 -08:00
s390 lib/tests: convert test_min_heap module to KUnit 2026-01-26 19:07:10 -08:00
sh treewide: Update email address 2026-01-11 06:09:11 -10:00
sparc treewide: Update email address 2026-01-11 06:09:11 -10:00
um kernel.h: drop hex.h and update all hex.h users 2026-01-20 19:44:19 -08:00
x86 x86/kexec: add a sanity check on previous kernel's ima kexec buffer 2026-01-26 19:07:11 -08:00
xtensa kernel.h: drop hex.h and update all hex.h users 2026-01-20 19:44:19 -08:00
.gitignore
Kconfig treewide: drop outdated compiler version remarks in Kconfig help texts 2025-11-12 10:00:14 -08:00