Skip to content

Commit 67f440c

Browse files
ColinIanKingdavem330
authored andcommitted
selftests/net: Fix various spelling mistakes in TCP-AO tests
There are a handful of spelling mistakes in test messages in the TCP-AIO selftests. Fix these. Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Dmitry Safonov <[email protected]> Reviewed-by: Randy Dunlap <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 27c346a commit 67f440c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

tools/testing/selftests/net/tcp_ao/connect-deny.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ static void try_accept(const char *tst_name, unsigned int port, const char *pwd,
5555
err = test_wait_fd(lsk, timeout, 0);
5656
if (err == -ETIMEDOUT) {
5757
if (!fault(TIMEOUT))
58-
test_fail("timeouted for accept()");
58+
test_fail("timed out for accept()");
5959
} else if (err < 0) {
6060
test_error("test_wait_fd()");
6161
} else {

tools/testing/selftests/net/tcp_ao/lib/proc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ void netstat_print_diff(struct netstat *nsa, struct netstat *nsb)
227227
}
228228

229229
if (nsb->counters_nr < nsa->counters_nr)
230-
test_error("Unexpected: some counters dissapeared!");
230+
test_error("Unexpected: some counters disappeared!");
231231

232232
for (j = 0, i = 0; i < nsb->counters_nr; i++) {
233233
if (strcmp(nsb->counters[i].name, nsa->counters[j].name)) {
@@ -244,7 +244,7 @@ void netstat_print_diff(struct netstat *nsa, struct netstat *nsb)
244244
j++;
245245
}
246246
if (j != nsa->counters_nr)
247-
test_error("Unexpected: some counters dissapeared!");
247+
test_error("Unexpected: some counters disappeared!");
248248

249249
nsb = nsb->next;
250250
nsa = nsa->next;

tools/testing/selftests/net/tcp_ao/setsockopt-closed.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ static void test_einval_del_key(void)
427427

428428
sk = prepare_defs(TCP_AO_DEL_KEY, &del);
429429
del.set_current = 1;
430-
setsockopt_checked(sk, TCP_AO_DEL_KEY, &del, ENOENT, "set non-exising current key");
430+
setsockopt_checked(sk, TCP_AO_DEL_KEY, &del, ENOENT, "set non-existing current key");
431431

432432
sk = prepare_defs(TCP_AO_DEL_KEY, &del);
433433
del.set_rnext = 1;

tools/testing/selftests/net/tcp_ao/unsigned-md5.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static void try_accept(const char *tst_name, unsigned int port,
7272
err = test_wait_fd(lsk, timeout, 0);
7373
if (err == -ETIMEDOUT) {
7474
if (!fault(TIMEOUT))
75-
test_fail("timeouted for accept()");
75+
test_fail("timed out for accept()");
7676
} else if (err < 0) {
7777
test_error("test_wait_fd()");
7878
} else {

0 commit comments

Comments
 (0)