Skip to content

Commit d45ea3f

Browse files
committed
add system tests for child devices
1 parent c48d3bc commit d45ea3f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tests/debian-systemd/children-container/operations.robot

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,8 @@ Install device profile
7272
Cumulocity.Managed Object Should Have Fragment Values c8y_Firmware.name\=iot-linux c8y_Firmware.version\=3.0.0
7373
Cumulocity.Device Should Have Installed Software {"name":"jq"}
7474
Cumulocity.Should Support Configurations container.env includes=${True}
75+
76+
Execute shell command
77+
${operation}= Cumulocity.Execute Shell Command ls -l /etc/tedge
78+
${operation}= Operation Should Be SUCCESSFUL ${operation}
79+
Should Not Be Empty ${operation["c8y_Command"]["result"]}

tests/debian-systemd/children-systemd/operations.robot

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,8 @@ Install device profile
7575
Cumulocity.Managed Object Should Have Fragment Values c8y_Firmware.name\=iot-linux c8y_Firmware.version\=3.0.0
7676
Cumulocity.Device Should Have Installed Software {"name":"jq"}
7777
Cumulocity.Should Support Configurations container.env includes=${True}
78+
79+
Execute shell command
80+
${operation}= Cumulocity.Execute Shell Command ls -l /etc/tedge
81+
${operation}= Operation Should Be SUCCESSFUL ${operation}
82+
Should Not Be Empty ${operation["c8y_Command"]["result"]}

0 commit comments

Comments
 (0)