Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <colin.i.king@gmail.com>
Reviewed-by: Dmitry Safonov <dima@arista.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Colin Ian King and committed by
David S. Miller
67f440c0 27c346a2

+5 -5
+1 -1
tools/testing/selftests/net/tcp_ao/connect-deny.c
··· 55 55 err = test_wait_fd(lsk, timeout, 0); 56 56 if (err == -ETIMEDOUT) { 57 57 if (!fault(TIMEOUT)) 58 - test_fail("timeouted for accept()"); 58 + test_fail("timed out for accept()"); 59 59 } else if (err < 0) { 60 60 test_error("test_wait_fd()"); 61 61 } else {
+2 -2
tools/testing/selftests/net/tcp_ao/lib/proc.c
··· 227 227 } 228 228 229 229 if (nsb->counters_nr < nsa->counters_nr) 230 - test_error("Unexpected: some counters dissapeared!"); 230 + test_error("Unexpected: some counters disappeared!"); 231 231 232 232 for (j = 0, i = 0; i < nsb->counters_nr; i++) { 233 233 if (strcmp(nsb->counters[i].name, nsa->counters[j].name)) { ··· 244 244 j++; 245 245 } 246 246 if (j != nsa->counters_nr) 247 - test_error("Unexpected: some counters dissapeared!"); 247 + test_error("Unexpected: some counters disappeared!"); 248 248 249 249 nsb = nsb->next; 250 250 nsa = nsa->next;
+1 -1
tools/testing/selftests/net/tcp_ao/setsockopt-closed.c
··· 427 427 428 428 sk = prepare_defs(TCP_AO_DEL_KEY, &del); 429 429 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"); 431 431 432 432 sk = prepare_defs(TCP_AO_DEL_KEY, &del); 433 433 del.set_rnext = 1;
+1 -1
tools/testing/selftests/net/tcp_ao/unsigned-md5.c
··· 72 72 err = test_wait_fd(lsk, timeout, 0); 73 73 if (err == -ETIMEDOUT) { 74 74 if (!fault(TIMEOUT)) 75 - test_fail("timeouted for accept()"); 75 + test_fail("timed out for accept()"); 76 76 } else if (err < 0) { 77 77 test_error("test_wait_fd()"); 78 78 } else {