mirror of
https://github.com/nmap/nmap.git
synced 2025-12-14 11:49:01 +00:00
New nsock regression test: TestConnectFailure.
Trigger a ENETUNREACH error on connect() and check if properly reported. As of now the test fails, the error isn't delivered.
This commit is contained in:
@@ -30,6 +30,7 @@ extern const struct test_case TestTimer;
|
||||
extern const struct test_case TestLogLevels;
|
||||
extern const struct test_case TestErrLevels;
|
||||
extern const struct test_case TestConnectTCP;
|
||||
extern const struct test_case TestConnectFailure;
|
||||
extern const struct test_case TestGHLists;
|
||||
extern const struct test_case TestGHHeaps;
|
||||
extern const struct test_case TestHeapOrdering;
|
||||
@@ -48,6 +49,7 @@ static const struct test_case *TestCases[] = {
|
||||
&TestErrLevels,
|
||||
/* ---- connect.c */
|
||||
&TestConnectTCP,
|
||||
&TestConnectFailure,
|
||||
/* ---- ghlists.c */
|
||||
&TestGHLists,
|
||||
/* ---- ghheaps.c */
|
||||
|
||||
Reference in New Issue
Block a user