mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
trying to fix the preupgrade script when we guess the test configuration
This commit is contained in:
parent
06745d3865
commit
1a766eaa64
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue