Skip to content

Commit 4665d3b

Browse files
authored
Merge pull request #3678 from rina23q/fix/misc-fix-for-diagnostic-collection
chore: add template.sh.ignore to package and fix typo
2 parents 7cb0e6d + 3207f4e commit 4665d3b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

configuration/package_manifests/nfpm.tedge.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,8 @@ contents:
128128
dst: /usr/share/tedge/diag-plugins/
129129
file_info:
130130
mode: 0755
131+
132+
- src: ./configuration/contrib/diag-plugins/template.sh.ignore
133+
dst: /usr/share/tedge/diag-plugins/
134+
file_info:
135+
mode: 0755

tests/RobotFramework/tests/tedge/diag/tedge_diac_collect.robot renamed to tests/RobotFramework/tests/tedge/diag/tedge_diag_collect.robot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ Validate preset plugins
6060
[Arguments] ${tarball_name}
6161
${result}= Execute Command ls /usr/share/tedge/diag-plugins
6262
${plugins}= Split String ${result} \n
63-
${cleared_list}= Evaluate [x for x in @{plugins} if x]
64-
FOR ${plugin} IN @{cleared_list}
63+
${filtered_plugins}= Evaluate [x for x in ${plugins} if x and not x.endswith('.ignore')]
64+
FOR ${plugin} IN @{filtered_plugins}
6565
${base}= Replace String ${plugin} .sh ${EMPTY}
6666
File Should Exist /tmp/${tarball_name}/${base}/output.log
6767
END

0 commit comments

Comments
 (0)