From 3aaa6127fc5810c75324add925a296c5e2a2ed19 Mon Sep 17 00:00:00 2001 From: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> Date: Mon, 23 Aug 2021 16:27:32 +0200 Subject: [PATCH] spread.yaml: fix capturing of captured spread functions We need to execute the functions, not just define them. Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> --- spread.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/spread.yaml b/spread.yaml index f7a7eb5..eff522f 100644 --- a/spread.yaml +++ b/spread.yaml @@ -39,6 +39,7 @@ prepare: | # "MATCH is a function", the rest is valid shell. for fn in MATCH NOMATCH; do type "$fn" | tail -n +2 >> $SPREAD_PATH/tests/bin/"$fn" + echo "$fn \"\$@\"" >> $SPREAD_PATH/tests/bin/"$fn" done # Build and install locally -- GitLab