From 1a766eaa64acbdb1ec19f1ce90f79a1b51346c2b Mon Sep 17 00:00:00 2001 From: Kayou Date: Thu, 21 Oct 2021 12:28:01 +0200 Subject: [PATCH] trying to fix the preupgrade script when we guess the test configuration --- lib/tests_coordination.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/tests_coordination.sh b/lib/tests_coordination.sh index 18a670b..64f51cb 100644 --- a/lib/tests_coordination.sh +++ b/lib/tests_coordination.sh @@ -208,15 +208,17 @@ guess_test_configuration() { local test_arg="$2" test_id="$((test_id+1))" local extra="{}" + local preupgrade_template="" jq -n \ --arg test_serie "default" \ --arg test_type "$test_type" \ --arg test_arg "$test_arg" \ --arg preinstall_template "" \ + --arg preupgrade_template "$preupgrade_template" \ --arg install_args "$install_args" \ --argjson extra "$extra" \ - '{ $test_serie, $test_type, $test_arg, $preinstall_template, $install_args, $extra }' \ + '{ $test_serie, $test_type, $test_arg, $preinstall_template, $preupgrade_template, $install_args, $extra }' \ > "$TEST_CONTEXT/tests/$test_id.json" }