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