ci: tests: ubus: fix test for hotplug.firmware object

It seems like this new `hotplug.firmware` object in OpenWrt 22.03 is
only present on glinet-b1300 device, so we need to remove it from
generic tests and move it to device specific tests.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
This commit is contained in:
Petr Štetiar 2022-08-11 16:25:40 +02:00 committed by Petr Štetiar
parent 8edd076614
commit 50d777d8d2
No known key found for this signature in database
GPG Key ID: 58EE120F30CC02D3
2 changed files with 6 additions and 1 deletions

View File

@ -4,7 +4,7 @@ Create R alias:
Check that ubus has all expected services available:
$ R "ubus list | grep -v '^[[:upper:]]'"
$ R "ubus list | grep -v -e '^[[:upper:]]' -e 'hotplug.firmware'"
container
dhcp
dnsmasq

View File

@ -2,6 +2,11 @@ Create R alias:
$ alias R="${CRAM_REMOTE_COMMAND:-}"
Check that ubus has hotplug.firmware service available:
$ R "ubus list | grep hotplug.firmware"
hotplug.firmware
Check that we've correct system info:
$ R "ubus call system board | jsonfilter -e @.system -e @.model -e @.board_name"