From aad0f102906227e2457705eefe77c4b464362849 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 29 Nov 2020 21:49:44 +0100 Subject: [PATCH] Do not display the content of the page each time the test is performed otherwise we end up having to scroll and scroll and scroll... --- sub_scripts/testing_process.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sub_scripts/testing_process.sh b/sub_scripts/testing_process.sh index 696ddbc..7ae4225 100644 --- a/sub_scripts/testing_process.sh +++ b/sub_scripts/testing_process.sh @@ -342,9 +342,9 @@ CHECK_URL () { fi # Print the first 20 lines of the page - ECHO_FORMAT "Extract of the page:\n" "white" + ECHO_FORMAT "Extract of the page:\n" "white" >> "$test_result" echo -en "\e[37m" # Write in 'light grey' - lynx -dump -force_html "$script_dir/url_output" | head --lines 20 | tee --append "$test_result" + lynx -dump -force_html "$script_dir/url_output" | head --lines 20 >> "$test_result" echo -e "\e[0m" if [ $show_resources -eq 1 ]