Skip to content

Commit

Permalink
automated: linux: ota-update ota-rollback remove sh-lib
Browse files Browse the repository at this point in the history
sh-lib is now part of automated/lib/sh-test-lib. This patch removes
redundant files and makes necessary changes to the test scripts

Signed-off-by: Milosz Wasilewski <[email protected]>
  • Loading branch information
mwasilew authored and roxell committed Oct 30, 2023
1 parent ae81e22 commit c5c3faa
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 107 deletions.
2 changes: 1 addition & 1 deletion automated/linux/offline-update/offline-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright (C) 2023 Foundries.io Ltd.

# shellcheck disable=SC1091
. ./sh-lib
. ../../lib/sh-test-lib
OUTPUT="$(pwd)/output"
RESULT_FILE="${OUTPUT}/result.txt"
export RESULT_FILE
Expand Down
2 changes: 1 addition & 1 deletion automated/linux/offline-update/offline-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright (C) 2023 Foundries.io Ltd.

# shellcheck disable=SC1091
. ./sh-lib
. ../../lib/sh-test-lib
OUTPUT="$(pwd)/output"
RESULT_FILE="${OUTPUT}/result.txt"
export RESULT_FILE
Expand Down
33 changes: 0 additions & 33 deletions automated/linux/offline-update/sh-lib

This file was deleted.

2 changes: 1 addition & 1 deletion automated/linux/ota-rollback/download-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright (C) 2021 Foundries.io Ltd.

# shellcheck disable=SC1091
. ./sh-lib
. ../../lib/sh-test-lib
OUTPUT="$(pwd)/output"
RESULT_FILE="${OUTPUT}/result.txt"
export RESULT_FILE
Expand Down
33 changes: 0 additions & 33 deletions automated/linux/ota-rollback/sh-lib

This file was deleted.

2 changes: 1 addition & 1 deletion automated/linux/ota-rollback/verify-reboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright (C) 2021 Foundries.io Ltd.

# shellcheck disable=SC1091
. ./sh-lib
. ../../lib/sh-test-lib
OUTPUT="$(pwd)/output"
RESULT_FILE="${OUTPUT}/result.txt"
export RESULT_FILE
Expand Down
2 changes: 1 addition & 1 deletion automated/linux/ota-rollback/verify-rollback.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright (C) 2021 Foundries.io Ltd.

# shellcheck disable=SC1091
. ./sh-lib
. ../../lib/sh-test-lib
OUTPUT="$(pwd)/output"
RESULT_FILE="${OUTPUT}/result.txt"
export RESULT_FILE
Expand Down
2 changes: 1 addition & 1 deletion automated/linux/ota-update/download-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright (C) 2021 Foundries.io Ltd.

# shellcheck disable=SC1091
. ./sh-lib
. ../../lib/sh-test-lib
OUTPUT="$(pwd)/output"
RESULT_FILE="${OUTPUT}/result.txt"
export RESULT_FILE
Expand Down
33 changes: 0 additions & 33 deletions automated/linux/ota-update/sh-lib

This file was deleted.

2 changes: 1 addition & 1 deletion automated/linux/ota-update/verify-reboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright (C) 2021 Foundries.io Ltd.

# shellcheck disable=SC1091
. ./sh-lib
. ../../lib/sh-test-lib
OUTPUT="$(pwd)/output"
RESULT_FILE="${OUTPUT}/result.txt"
export RESULT_FILE
Expand Down
2 changes: 1 addition & 1 deletion automated/linux/ota-update/verify-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright (C) 2021 Foundries.io Ltd.

# shellcheck disable=SC1091
. ./sh-lib
. ../../lib/sh-test-lib
OUTPUT="$(pwd)/output"
RESULT_FILE="${OUTPUT}/result.txt"
export RESULT_FILE
Expand Down

0 comments on commit c5c3faa

Please sign in to comment.