From d49f3fdc5219fdf37a4fab2a33ee0eda0169cb3e Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Fri, 15 Nov 2024 11:24:22 -0700 Subject: [PATCH] add memory leak check test --- .github/workflows/sshd-test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/sshd-test.yml b/.github/workflows/sshd-test.yml index a58db6ab..b509485c 100644 --- a/.github/workflows/sshd-test.yml +++ b/.github/workflows/sshd-test.yml @@ -97,3 +97,9 @@ jobs: run: | git log -3 sudo ./run_all_sshd_tests.sh + + - name: Test memory after close down + working-directory: ./wolfssh/ + run: | + touch sshd_config.txt + sudo timeout -s 2 5 valgrind ./apps/wolfsshd/wolfsshd -D -f sshd_config.txt -h ./keys/server-key.pem -d -p 22222