From af9fab5bfa4ef2edd8d19f5eec51e8f0e27bd969 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 23 Mar 2021 00:37:30 +0100 Subject: [PATCH] Revert the removal of awk/tr, needed because there are some stupid trailing (DOMAIN) and similar stuff ... Gotta see later how to handle properly args containing spaces --- lib/tests_coordination.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tests_coordination.sh b/lib/tests_coordination.sh index 90b87db..a7c02f3 100644 --- a/lib/tests_coordination.sh +++ b/lib/tests_coordination.sh @@ -78,7 +78,7 @@ parse_check_process() { # Looking like domain=foo.com&path=/bar&password=stuff # "Standard" arguments like domain/path will later be overwritten # during tests - local install_args=$( extract_check_process_section "^; Manifest" "^; " $test_serie_rawconf | tr '\n' '&') + local install_args=$( extract_check_process_section "^; Manifest" "^; " $test_serie_rawconf | awk '{print $1}' | tr -d '"' | tr '\n' '&') local preinstall_template=$(extract_check_process_section "^; pre-install" "^; " $test_serie_rawconf) local action_infos=$( extract_check_process_section "^; Actions" "^; " $test_serie_rawconf) local configpanel_infos=$( extract_check_process_section "^; Config_panel" "^; " $test_serie_rawconf)