[CRIU] [PATCH 1/3] Fix typos in messages from test suite
Kir Kolyshkin
kir at openvz.org
Fri Apr 12 16:00:04 EDT 2013
Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
test/zdtm/live/static/futex-rl.c | 4 ++--
test/zdtm/live/static/inotify_system.c | 4 ++--
test/zdtm/live/static/inotify_system_nodel.c | 4 ++--
test/zdtm/live/static/socket-tcpbuf.c | 4 ++--
test/zdtm/live/static/tty03.c | 2 +-
test/zdtm/live/static/unhashed_proc.c | 4 ++--
test/zdtm/live/transition/epoll.c | 2 +-
test/zdtm/live/transition/file_read.c | 2 +-
8 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/test/zdtm/live/static/futex-rl.c b/test/zdtm/live/static/futex-rl.c
index 42ff174..9a3181a 100644
--- a/test/zdtm/live/static/futex-rl.c
+++ b/test/zdtm/live/static/futex-rl.c
@@ -52,7 +52,7 @@ void *thread_fn(void *arg)
if (head_orig != head_new || len_orig != len_new) {
args->result = -1;
- fail("comparision failed");
+ fail("comparison failed");
}
args->result = 0;
@@ -110,7 +110,7 @@ int main(int argc, char **argv)
}
if (head_orig != head_new || len_orig != len_new) {
- fail("comparision failed");
+ fail("comparison failed");
exit(1);
}
diff --git a/test/zdtm/live/static/inotify_system.c b/test/zdtm/live/static/inotify_system.c
index 3e98b93..be5ee22 100644
--- a/test/zdtm/live/static/inotify_system.c
+++ b/test/zdtm/live/static/inotify_system.c
@@ -270,7 +270,7 @@ int errors(int exp_len, int len, char *etalon_buf, char *buf) {
}
if (event->mask != exp_event->mask) {
- fail("Handeled %s (%x mask), expected %s (%x mask)",
+ fail("Handled %s (%x mask), expected %s (%x mask)",
handle_event(event->mask), event->mask,
handle_event(exp_event->mask),
exp_event->mask);
@@ -282,7 +282,7 @@ int errors(int exp_len, int len, char *etalon_buf, char *buf) {
break;
}
else if (event->len && strncmp(event->name, exp_event->name, event->len)) {
- fail("Handeled file name %s, expected %s",
+ fail("Handled file name %s, expected %s",
event->name,
exp_event->name);
error++;
diff --git a/test/zdtm/live/static/inotify_system_nodel.c b/test/zdtm/live/static/inotify_system_nodel.c
index 3e98b93..be5ee22 100644
--- a/test/zdtm/live/static/inotify_system_nodel.c
+++ b/test/zdtm/live/static/inotify_system_nodel.c
@@ -270,7 +270,7 @@ int errors(int exp_len, int len, char *etalon_buf, char *buf) {
}
if (event->mask != exp_event->mask) {
- fail("Handeled %s (%x mask), expected %s (%x mask)",
+ fail("Handled %s (%x mask), expected %s (%x mask)",
handle_event(event->mask), event->mask,
handle_event(exp_event->mask),
exp_event->mask);
@@ -282,7 +282,7 @@ int errors(int exp_len, int len, char *etalon_buf, char *buf) {
break;
}
else if (event->len && strncmp(event->name, exp_event->name, event->len)) {
- fail("Handeled file name %s, expected %s",
+ fail("Handled file name %s, expected %s",
event->name,
exp_event->name);
error++;
diff --git a/test/zdtm/live/static/socket-tcpbuf.c b/test/zdtm/live/static/socket-tcpbuf.c
index 57a17a1..8cc10d4 100644
--- a/test/zdtm/live/static/socket-tcpbuf.c
+++ b/test/zdtm/live/static/socket-tcpbuf.c
@@ -222,7 +222,7 @@ int main(int argc, char **argv)
rcv_size = clean_sk_buf(fd);
if (ret != rcv_size) {
- fail("The child sent %d bytes, but the parent recieved %d bytes\n", rcv_size, ret);
+ fail("The child sent %d bytes, but the parent received %d bytes\n", rcv_size, ret);
return 1;
}
@@ -232,7 +232,7 @@ int main(int argc, char **argv)
}
if (ret != snd_size) {
- fail("The parent sent %d bytes, but the child recieved %d bytes\n", snd_size, ret);
+ fail("The parent sent %d bytes, but the child received %d bytes\n", snd_size, ret);
return 1;
}
diff --git a/test/zdtm/live/static/tty03.c b/test/zdtm/live/static/tty03.c
index e66125e..0f2b932 100644
--- a/test/zdtm/live/static/tty03.c
+++ b/test/zdtm/live/static/tty03.c
@@ -97,7 +97,7 @@ int main(int argc, char ** argv)
}
if (sid_b != sid_a) {
- fail("The tty is controlling for someon else");
+ fail("The tty is controlling for someone else");
goto out;
}
diff --git a/test/zdtm/live/static/unhashed_proc.c b/test/zdtm/live/static/unhashed_proc.c
index b1fc3fc..c46e21e 100644
--- a/test/zdtm/live/static/unhashed_proc.c
+++ b/test/zdtm/live/static/unhashed_proc.c
@@ -40,7 +40,7 @@ int main(int argc, char ** argv)
waitpid(pid, NULL, 0);
if (getcwd(cwd1, sizeof(cwd1))) {
- err("successfull getcwd: %s\n", cwd1);
+ err("successful getcwd: %s\n", cwd1);
exit(1);
} else if (errno != ENOENT) {
err("wrong errno: %m\n");
@@ -58,7 +58,7 @@ int main(int argc, char ** argv)
test_waitsig();
if (getcwd(cwd2, sizeof(cwd2))) {
- fail("successfull getcwd: %s\n", cwd2);
+ fail("successful getcwd: %s\n", cwd2);
exit(1);
} else if (errno != ENOENT) {
fail("wrong errno: %m\n");
diff --git a/test/zdtm/live/transition/epoll.c b/test/zdtm/live/transition/epoll.c
index 5c063ef..91db02f 100644
--- a/test/zdtm/live/transition/epoll.c
+++ b/test/zdtm/live/transition/epoll.c
@@ -189,7 +189,7 @@ int main(int argc, char **argv)
child_fail_reason[rv], rv);
counter++;
} else if (rv != SUCCESS) {
- fail("Unknow exitcode from child: %d\n", rv);
+ fail("Unknown exitcode from child: %d\n", rv);
counter++;
}
}
diff --git a/test/zdtm/live/transition/file_read.c b/test/zdtm/live/transition/file_read.c
index ffcf1cd..bed8935 100644
--- a/test/zdtm/live/transition/file_read.c
+++ b/test/zdtm/live/transition/file_read.c
@@ -228,7 +228,7 @@ int main(int argc, char **argv)
kids_fail_reasons[rv], rv);
counter++;
} else if (rv != SUCCESS) {
- fail("Unknow exitcode from kid: %d\n", rv);
+ fail("Unknown exitcode from kid: %d\n", rv);
counter++;
}
}
--
1.8.1.4
More information about the CRIU
mailing list