linux/tools/testing/selftests/gpio
Koichiro Den 290ffcfe30 selftests: gpio: gpio-aggregator: add a test case for _sysfs prefix reservation
The kernel doc for gpio-aggregator configfs interface, which was recently
added, states that users should not be able to create an aggregator with a
name prefixed by "_sysfs" via configfs. However, it was found that this
guard does not function as expected (thanks to Dan Carpenter for
identifying and fixing the issue).

Add a test case to verify the guard.

Signed-off-by: Koichiro Den <koichiro.den@canonical.com>
Link: https://lore.kernel.org/r/20250412150119.1461023-1-koichiro.den@canonical.com
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
2025-04-14 22:30:01 +02:00
..
.gitignore
config selftests: gpio: add test cases for gpio-aggregator 2025-04-09 16:57:30 +02:00
gpio-aggregator.sh selftests: gpio: gpio-aggregator: add a test case for _sysfs prefix reservation 2025-04-14 22:30:01 +02:00
gpio-chip-info.c
gpio-line-name.c
gpio-mockup-cdev.c
gpio-mockup-sysfs.sh
gpio-mockup.sh
gpio-sim.sh
Makefile selftests: gpio: add test cases for gpio-aggregator 2025-04-09 16:57:30 +02:00