From fa38485328b21e203ff0bcc26ad04678da94857d Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 1 Jan 2024 23:49:49 +0100 Subject: [PATCH] Revert "More stupid debugging because i can't even" This reverts commit 81ffd3b7bfefb636d9680bdc325c85e2ee6d2c5d. --- lib/tests.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/tests.sh b/lib/tests.sh index 73a405b..5217d0b 100644 --- a/lib/tests.sh +++ b/lib/tests.sh @@ -79,13 +79,9 @@ _TEST_CONFIG_PANEL() { _INSTALL_APP () { local install_args="$(jq -r '.install_args' $current_test_infos)" - log_info "install_args: $install_args" - # Make sure we have a trailing & because that assumption is used in some sed regex later [[ ${install_args: -1} == '&' ]] || install_args+="&" [[ ${install_args:0:1} == '&' ]] || install_args="&$install_args" - - log_info "install_args: $install_args" # We have default values for domain, admin and is_public, but these # may still be overwritten by the args ($@) @@ -102,8 +98,6 @@ _INSTALL_APP () { install_args=$(echo $install_args | sed "s@\&$key=[^&]*\&@\&$key=$value\&@") done - - log_info "install_args: $install_args" # Note : we do this at this stage and not during the parsing of check_process # because this also applies to upgrades ... ie older version may have different args and default values @@ -127,16 +121,11 @@ _INSTALL_APP () { else local default_value=$(python3 -c "import toml, sys; t = toml.loads(sys.stdin.read()); d = t['install']['$ARG'].get('default'); assert d is not None, 'Missing default value'; print(d)" < $package_path/manifest.toml) fi - log_info "adding $ARG" - log_info "install_args: $install_args" [[ $? -eq 0 ]] || { log_error "Missing install arg $ARG ?"; return 1; } [[ ${install_args: -1} == '&' ]] || install_args+="&" install_args+="$ARG=$default_value" - log_info "install_args: $install_args" fi done - - log_info "install_args: $install_args" # Install the application in a LXC container log_info "Running: yunohost app install --no-remove-on-failure --force /app_folder -a \"$install_args\""