From bb2327081864e24bc371ddf533ca9d7e78c662ba Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Fri, 15 Nov 2024 11:37:10 -0700 Subject: [PATCH] install valgrind for test --- .github/workflows/sshd-test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/sshd-test.yml b/.github/workflows/sshd-test.yml index b509485c..36b4c259 100644 --- a/.github/workflows/sshd-test.yml +++ b/.github/workflows/sshd-test.yml @@ -98,8 +98,10 @@ jobs: git log -3 sudo ./run_all_sshd_tests.sh + # could use optimization with caching - name: Test memory after close down working-directory: ./wolfssh/ run: | + sudo apt-get install valgrind 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