From 70dfa8717d91a9c982ec7e762a61aa4d82d941d9 Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Fri, 15 Nov 2024 13:44:42 -0700 Subject: [PATCH] preserve-status with timeout test --- .github/workflows/sshd-test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sshd-test.yml b/.github/workflows/sshd-test.yml index af49ffa0..f420d73d 100644 --- a/.github/workflows/sshd-test.yml +++ b/.github/workflows/sshd-test.yml @@ -104,4 +104,5 @@ jobs: run: | sudo apt-get install valgrind touch sshd_config.txt - sudo timeout -s 2 5 valgrind --leak-check=full --show-reachable=no ./apps/wolfsshd/wolfsshd -D -f sshd_config.txt -h ./keys/server-key.pem -d -p 22222 + ./configure --enable-all --enable-static --disable-shared && make + sudo timeout --preserve-status -s 2 5 valgrind --error-exitcode=1 --leak-check=full ./apps/wolfsshd/wolfsshd -D -f sshd_config -h ./keys/server-key.pem -d -p 22222