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:
parent
8edd076614
commit
50d777d8d2
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user