]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: RADIUS server unreachable with error handling
authorJouni Malinen <j@w1.fi>
Fri, 30 May 2014 13:38:40 +0000 (16:38 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 30 May 2014 15:34:39 +0000 (18:34 +0300)
commit6a188ba3fc2b0f974419b35ae2f627932fcd8b02
tree71b164576243e0837ab57a5be82cd7746221f2dc
parent70d4084885b65ccd0242f0b2a761691305e61549
tests: RADIUS server unreachable with error handling

radius_{auth,acct}_unreachable tested some parts of RADIUS client code
error handling. However, they did not test everything since the send()
calls for unreachable port on localhost did not return an error (that
error was reported on receive side). Extend this with similar test cases
using unreachable IP address to get send() error returns covered as
well.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_radius.py