--- parser3/tests/httpd/code-cache/run_tests.sh 2026/10/30 01:23:17 1.2 +++ parser3/tests/httpd/code-cache/run_tests.sh 2026/10/30 01:25:50 1.3 @@ -9,8 +9,8 @@ class_file() { # file, class, method, te } get() { # the response body of the test @name in site/tests.p - printf 'GET /?%s HTTP/1.0\r\n\r\n' "$1" | nc localhost $PORT | tr -d '\r' | sed '1,/^$/d' - echo + body=`printf 'GET /?%s HTTP/1.0\r\n\r\n' "$1" | nc localhost $PORT | tr -d '\r' | sed '1,/^$/d'` + printf '%s\n' "$body" } run() { # httpd mode, code cache: on or off