File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
configuration/package_manifests
tests/RobotFramework/tests/tedge/diag Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -128,3 +128,8 @@ contents:
128
128
dst : /usr/share/tedge/diag-plugins/
129
129
file_info :
130
130
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
Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ Validate preset plugins
60
60
[Arguments] ${tarball_name }
61
61
${result } = Execute Command ls /usr/share/tedge/diag-plugins
62
62
${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 }
65
65
${base } = Replace String ${plugin } .sh ${EMPTY }
66
66
File Should Exist /tmp/${tarball_name } /${base } /output.log
67
67
END
You can’t perform that action at this time.
0 commit comments