Skip to content
Snippets Groups Projects
Commit 3aaa6127 authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

spread.yaml: fix capturing of captured spread functions


We need to execute the functions, not just define them.

Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent b600d3e9
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,7 @@ prepare: | ...@@ -39,6 +39,7 @@ prepare: |
# "MATCH is a function", the rest is valid shell. # "MATCH is a function", the rest is valid shell.
for fn in MATCH NOMATCH; do for fn in MATCH NOMATCH; do
type "$fn" | tail -n +2 >> $SPREAD_PATH/tests/bin/"$fn" type "$fn" | tail -n +2 >> $SPREAD_PATH/tests/bin/"$fn"
echo "$fn \"\$@\"" >> $SPREAD_PATH/tests/bin/"$fn"
done done
# Build and install locally # Build and install locally
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment