Some ubus datamodel are specific to devices with cellular support. Move these element to the specific ubus datamodel test to fix the generic test from failing. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Peter Steinhaeuser <ps@embedd.com>
36 lines
1.2 KiB
Perl
36 lines
1.2 KiB
Perl
Create R alias:
|
|
|
|
$ alias R="${CRAM_REMOTE_COMMAND:-}"
|
|
|
|
If test is running on a Mozart, Turris, OSPv1 or Haze, lets skip the test as there is no Cellular support:
|
|
$ if echo "$CI_JOB_NAME" | grep -q -E "(Mozart|Turris|Haze|HDK-3)"; then exit 80; fi
|
|
|
|
Check that ubus has expected Cellular datamodels available:
|
|
|
|
$ R "ubus list | grep -e '^Cellular' -e 'Device.Cellular' -e 'Device.SessionManagement' -e 'Device.TrustedElements' -e '^SessionManagement' -e '^TrustedElements' | grep -v -e '\.[[:digit:]]'"
|
|
Cellular
|
|
Cellular.AccessPoint
|
|
Cellular.Interface
|
|
Cellular.Interface.SMS.Incoming
|
|
Cellular.Interface.SMS.Message
|
|
Cellular.Interface.SMS.Outgoing
|
|
Cellular.Interface.SMS.Storage
|
|
Device.Cellular
|
|
Device.SessionManagement
|
|
Device.TrustedElements
|
|
SessionManagement
|
|
SessionManagement.PDN
|
|
SessionManagement.PDP
|
|
SessionManagement.PDU
|
|
SessionManagement.PDU.NetworkSlice
|
|
SessionManagement.PDU.QoSFlow
|
|
SessionManagement.PDU.QoSRule
|
|
SessionManagement.PDU.QoSRule.Filter
|
|
SessionManagement.Session
|
|
SessionManagement.Session.IPv4Address
|
|
SessionManagement.Session.IPv6Address
|
|
SessionManagement.Session.PCO
|
|
TrustedElements
|
|
TrustedElements.SIM
|
|
TrustedElements.SIM.Profile
|