From f12f8cc035edc5d797166c95f30c5db6fce73f3e Mon Sep 17 00:00:00 2001 From: Eugene Syromiatnikov Date: Wed, 30 Jul 2025 15:55:14 +0200 Subject: [PATCH] Fix hanging of test_external_cf_quiche The commit "Remove HARNESS_OSSL_PREFIX manipulation in the test harness" forced all the output to be processed by the test harness, which means that any process that keeps the stdout FD open prevents the run() call from finishing, as was the case in the test_external_cf_quiche test that ran quiche server in the background, but retaining the std{in,out,err} descriptors. Avoid that by explicitly redirecting them to a log file. Reported-by: Tomas Mraz Fixes: 70c05fcde53cf "Remove HARNESS_OSSL_PREFIX manipulation in the test harness" Signed-off-by: Eugene Syromiatnikov Reviewed-by: Neil Horman Reviewed-by: Tim Hudson Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/28125) --- test/recipes/95-test_external_cf_quiche_data/quiche-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/recipes/95-test_external_cf_quiche_data/quiche-server.sh b/test/recipes/95-test_external_cf_quiche_data/quiche-server.sh index 4ed566a5752..088939b8c0c 100755 --- a/test/recipes/95-test_external_cf_quiche_data/quiche-server.sh +++ b/test/recipes/95-test_external_cf_quiche_data/quiche-server.sh @@ -24,6 +24,6 @@ test -d "$QUICHE_TARGET_PATH" || exit 1 "$QUICHE_TARGET_PATH/debug/quiche-server" --cert "$SRCTOP/test/certs/servercert.pem" \ --key "$SRCTOP/test/certs/serverkey.pem" --disable-gso \ - --http-version HTTP/0.9 --root "$SRCTOP" --no-grease --disable-hystart & + --http-version HTTP/0.9 --root "$SRCTOP" --no-grease --disable-hystart > quiche_server_log 2>&1 & echo $! >server.pid -- 2.47.2