tools: tests: accept the new gpio-sim label format in test cases
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 6 May 2024 16:25:06 +0000 (18:25 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 7 May 2024 09:19:59 +0000 (11:19 +0200)
commit35003a821ed5c6f72043a54f69ad9bb207976ed1
treef379e31120d61d2d3b98b7b45c9252c7665024a8
parentc34a572c535000d48dde12a805b38731dc33deb1
tools: tests: accept the new gpio-sim label format in test cases

Since kernel commit 840a97e2fbaf ("gpio: sim: delimit the fwnode name
with a ":" when generating labels") the gpio-sim automatic labels are
generated by delimiting the device name and the fwnode name with ':'
instead of '-' for better readability. This will break the tests once
linux v6.9 is out. Act in advance and accept both forms.

Reviewed-by: Kent Gibson <warthog618@gmail.com>
Link: https://lore.kernel.org/r/20240506162506.176935-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
tools/gpio-tools-test.bash