selftest: gpio: remove obsolete gpio-mockup test
authorKent Gibson <warthog618@gmail.com>
Tue, 5 Mar 2024 00:21:24 +0000 (08:21 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 5 Mar 2024 19:01:08 +0000 (20:01 +0100)
commit297dc37a1e65f2f7378c2f755516d2c8c1db2c32
treed0b0f9cfa24c0e9367a81ee532324e0d6c424016
parent8ae438f5ff168cd0e3ba6e3cef7240fa5d110528
selftest: gpio: remove obsolete gpio-mockup test

With the removal of the ARCH_NR_GPIOS, the number of available GPIOs
is effectively unlimited, causing the gpio-mockup module load failure
test that overflowed the number of GPIOs to unexpectedly succeed, and
so fail.

The test is no longer relevant so remove it.
Promote the "no lines defined" test so there is still one load
failure test in the basic set.

Fixes: 7b61212f2a07 ("gpiolib: Get rid of ARCH_NR_GPIOS")
Reported-by: Pengfei Xu <pengfei.xu@intel.com>
Reported-by: Yi Lai <yi1.lai@intel.com>
Closes: https://lore.kernel.org/linux-gpio/ZC6OHBjdwBdT4sSb@xpf.sh.intel.com/
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Acked-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
tools/testing/selftests/gpio/gpio-mockup.sh