Skip to content

Commit

Permalink
add memory leak check test
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobBarthelmeh committed Nov 15, 2024
1 parent 6e70a07 commit 04e565a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/sshd-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,11 @@ jobs:
run: |
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 --leak-check=full --show-reachable=no ./apps/wolfsshd/wolfsshd -D -f sshd_config.txt -h ./keys/server-key.pem -d -p 22222

0 comments on commit 04e565a

Please sign in to comment.