From 16996968df85128af3125bbab2c65deceb2e92fd Mon Sep 17 00:00:00 2001 From: Ludy87 Date: Wed, 2 Apr 2025 17:35:38 +0200 Subject: [PATCH] delete cookie after process --- testing/test_webpages.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/test_webpages.sh b/testing/test_webpages.sh index 6b17e43c..99834c2e 100644 --- a/testing/test_webpages.sh +++ b/testing/test_webpages.sh @@ -105,6 +105,7 @@ test_all_urls() { # Clean up rm -rf "$tmp_dir" + rm -f cookies.txt local end_time=$(date +%s) local duration=$((end_time - start_time)) @@ -158,7 +159,7 @@ main() { exit 1 fi - curl -s -c cookies.txt $base_url/ + curl -s -c cookies.txt -o /dev/null $base_url/ # Run tests using the URL list if test_all_urls "$url_file" "$base_url" "$max_parallel"; then