Skip to content

Commit

Permalink
run timeout in foreground
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobBarthelmeh committed Dec 6, 2023
1 parent cd11a35 commit f2a4f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/wolfsshd/test/sshd_login_grace_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if [ "$RESULT" != 0 ]; then
fi

# test grace login timeout by stalling on password prompt
timeout 7 "$TEST_CLIENT" -u "$USER" -h "$TEST_HOST" -p "$TEST_PORT" -t
timeout --foreground 7 "$TEST_CLIENT" -u "$USER" -h "$TEST_HOST" -p "$TEST_PORT" -t

popd
cat ./log.txt | grep "Failed login within grace period"
Expand Down

0 comments on commit f2a4f04

Please sign in to comment.