diff --git a/tests/RobotFramework/tests/tedge_agent/workflows/custom_operation.robot b/tests/RobotFramework/tests/tedge_agent/workflows/custom_operation.robot index b294b9abf3..f08bed5eb5 100644 --- a/tests/RobotFramework/tests/tedge_agent/workflows/custom_operation.robot +++ b/tests/RobotFramework/tests/tedge_agent/workflows/custom_operation.robot @@ -138,7 +138,6 @@ Custom Setup Copy Configuration Files ThinEdgeIO.Transfer To Device ${CURDIR}/software_list.toml /etc/tedge/operations/ - ThinEdgeIO.Transfer To Device ${CURDIR}/init-software-list.sh /etc/tedge/operations/ ThinEdgeIO.Transfer To Device ${CURDIR}/custom-download.toml /etc/tedge/operations/ ThinEdgeIO.Transfer To Device ${CURDIR}/schedule-download.sh /etc/tedge/operations/ ThinEdgeIO.Transfer To Device ${CURDIR}/launch-download.sh /etc/tedge/operations/ diff --git a/tests/RobotFramework/tests/tedge_agent/workflows/init-software-list.sh b/tests/RobotFramework/tests/tedge_agent/workflows/init-software-list.sh deleted file mode 100755 index 6a2c754dcd..0000000000 --- a/tests/RobotFramework/tests/tedge_agent/workflows/init-software-list.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -set -e - -echo new software list request topic = "$1" >>/tmp/operations.log - -echo ':::begin-tedge:::' -echo '{ "status":"scheduled" }' -echo ':::end-tedge:::' diff --git a/tests/RobotFramework/tests/tedge_agent/workflows/software_list.toml b/tests/RobotFramework/tests/tedge_agent/workflows/software_list.toml index 6eeba5303d..322bfd891c 100644 --- a/tests/RobotFramework/tests/tedge_agent/workflows/software_list.toml +++ b/tests/RobotFramework/tests/tedge_agent/workflows/software_list.toml @@ -1,7 +1,7 @@ operation = "software_list" # A built in operation can be overridden [init] -script = "/etc/tedge/operations/init-software-list.sh ${.topic}" # The json output of the script is used for the next step +script = "/etc/tedge/operations/echo-as-json.sh status scheduled on_stdout = ["scheduled"] [scheduled]