From aa662ad50abd9e2610ad0300d1c63dbcac402933 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Mon, 9 Dec 2024 12:41:16 +0100 Subject: [PATCH] fix redirect order --- .github/workflows/mbedtls.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/mbedtls.sh b/.github/workflows/mbedtls.sh index c2c99e90e7..d199fd2e3d 100644 --- a/.github/workflows/mbedtls.sh +++ b/.github/workflows/mbedtls.sh @@ -4,7 +4,7 @@ set -e set -x # Basic TLS test -./mbedtls/build/programs/ssl/ssl_server2 2>&1 > /tmp/server.log & +./mbedtls/build/programs/ssl/ssl_server2 > /tmp/server.log 2>&1 & SERVER_PID=$! sleep 0.1 ./mbedtls/build/programs/ssl/ssl_client2 # Confirm working with mbed @@ -17,7 +17,7 @@ sleep 0.1 env -C wolfssl ./examples/server/server -p 4433 -i -g \ -A ../mbedtls/framework/data_files/test-ca-sha256.crt \ -c ../mbedtls/framework/data_files/server2-sha256.crt \ - -k ../mbedtls/framework/data_files/server2.key.pem 2>&1 > /tmp/server.log & + -k ../mbedtls/framework/data_files/server2.key.pem > /tmp/server.log 2>&1 & SERVER_PID=$! sleep 0.1 ./mbedtls/build/programs/ssl/ssl_client2 @@ -29,7 +29,7 @@ kill $SERVER_PID sleep 0.1 # Basic DTLS test -./mbedtls/build/programs/ssl/ssl_server2 dtls=1 2>&1 > /tmp/server.log & +./mbedtls/build/programs/ssl/ssl_server2 dtls=1 > /tmp/server.log 2>&1 & SERVER_PID=$! sleep 0.1 ./mbedtls/build/programs/ssl/ssl_client2 dtls=1 # Confirm working with mbed @@ -42,7 +42,7 @@ sleep 0.1 env -C wolfssl ./examples/server/server -p 4433 -i -g -u \ -A ../mbedtls/framework/data_files/test-ca-sha256.crt \ -c ../mbedtls/framework/data_files/server2-sha256.crt \ - -k ../mbedtls/framework/data_files/server2.key.pem 2>&1 > /tmp/server.log & + -k ../mbedtls/framework/data_files/server2.key.pem > /tmp/server.log 2>&1 & SERVER_PID=$! sleep 0.1 env -C wolfssl ./examples/client/client -p 4433 -g -u \ @@ -54,7 +54,7 @@ kill $SERVER_PID sleep 0.1 # DTLS 1.2 CID test -./mbedtls/build/programs/ssl/ssl_server2 dtls=1 cid=1 cid_val=121212 2>&1 > /tmp/server.log & +./mbedtls/build/programs/ssl/ssl_server2 dtls=1 cid=1 cid_val=121212 > /tmp/server.log 2>&1 & SERVER_PID=$! sleep 0.1 ./mbedtls/build/programs/ssl/ssl_client2 dtls=1 cid=1 cid_val=232323 # Confirm working with mbed @@ -67,7 +67,7 @@ sleep 0.1 env -C wolfssl ./examples/server/server -p 4433 -i -g -u --cid 121212 \ -A ../mbedtls/framework/data_files/test-ca-sha256.crt \ -c ../mbedtls/framework/data_files/server2-sha256.crt \ - -k ../mbedtls/framework/data_files/server2.key.pem 2>&1 > /tmp/server.log & + -k ../mbedtls/framework/data_files/server2.key.pem > /tmp/server.log 2>&1 & SERVER_PID=$! sleep 0.1 ./mbedtls/build/programs/ssl/ssl_client2 dtls=1 cid_val=232323