@@ -67,7 +67,7 @@ static void setup(void)
events[1].data.fd = fd[1];
if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd[0], &events[0]))
- tst_brk(TBROK | TERRNO, "epoll_clt(..., EPOLL_CTL_ADD, ...)");
+ tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)");
}
static void cleanup(void)
@@ -85,7 +85,7 @@ static void cleanup(void)
static void verify_epoll_ctl(unsigned int n)
{
TST_EXP_FAIL(epoll_ctl(*tc[n].epfd, tc[n].opt, *tc[n].fd, tc[n].event),
- tc[n].exp_err, "epoll_clt(...) if %s", tc[n].desc);
+ tc[n].exp_err, "epoll_ctl(...) if %s", tc[n].desc);
}
static struct tst_test test = {
@@ -55,7 +55,7 @@ static void setup(void)
events.data.fd = fds[0];
if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &events))
- tst_brk(TBROK | TERRNO, "epoll_clt(..., EPOLL_CTL_ADD, ...)");
+ tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)");
}
static void cleanup(void)
@@ -36,7 +36,7 @@ static void setup(void)
events.data.fd = epfd;
if (epoll_ctl(new_epfd, EPOLL_CTL_ADD, epfd, &events))
- tst_brk(TBROK | TERRNO, "epoll_clt(..., EPOLL_CTL_ADD, ...)");
+ tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)");
epfd = new_epfd;
}
@@ -59,7 +59,7 @@ static void verify_epoll_ctl(void)
events.data.fd = epfd;
TST_EXP_FAIL(epoll_ctl(new_epfd, EPOLL_CTL_ADD, epfd, &events), EINVAL,
- "epoll_clt(..., EPOLL_CTL_ADD, ...) with number of nesting is 5");
+ "epoll_ctl(..., EPOLL_CTL_ADD, ...) with number of nesting is 5");
SAFE_CLOSE(new_epfd);
}
@@ -40,12 +40,12 @@ static void setup(void)
events.data.fd = epfd;
if (epoll_ctl(new_epfd, EPOLL_CTL_ADD, epfd, &events))
- tst_brk(TBROK | TERRNO, "epoll_clt(..., EPOLL_CTL_ADD, ...)");
+ tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)");
}
events.data.fd = fd[0];
if (epoll_ctl(origin_epfd, EPOLL_CTL_DEL, fd[0], &events))
- tst_brk(TBROK | TERRNO, "epoll_clt(..., EPOLL_CTL_DEL, ...)");
+ tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_DEL, ...)");
}
static void cleanup(void)
@@ -61,7 +61,7 @@ static void verify_epoll_ctl(void)
{
events.data.fd = epfd;
TST_EXP_FAIL(epoll_ctl(origin_epfd, EPOLL_CTL_ADD, epfd, &events),
- ELOOP, "epoll_clt(..., EPOLL_CTL_ADD, ...)");
+ ELOOP, "epoll_ctl(..., EPOLL_CTL_ADD, ...)");
}
static struct tst_test test = {
@@ -102,7 +102,7 @@ static void setup(void)
e.events = EPOLLIN;
if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e))
- tst_brk(TBROK | TERRNO, "epoll_clt(..., EPOLL_CTL_ADD, ...)");
+ tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)");
}
static void cleanup(void)
@@ -42,7 +42,7 @@ static void setup(void)
e.events = EPOLLIN;
if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e))
- tst_brk(TBROK | TERRNO, "epoll_clt(..., EPOLL_CTL_ADD, ...)");
+ tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)");
SAFE_WRITE(SAFE_WRITE_ALL, sfd[1], "w", 1);
}
@@ -50,7 +50,7 @@ static void setup(void)
e.events = EPOLLIN;
if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e))
- tst_brk(TBROK | TERRNO, "epoll_clt(..., EPOLL_CTL_ADD, ...)");
+ tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)");
}
static void cleanup(void)
@@ -38,7 +38,7 @@ static void setup(void)
e.events = EPOLLIN;
if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e))
- tst_brk(TBROK | TERRNO, "epoll_clt(..., EPOLL_CTL_ADD, ...)");
+ tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)");
SAFE_WRITE(SAFE_WRITE_ALL, sfd[1], "w", 1);
bad_addr = tst_get_bad_addr(NULL);
@@ -46,7 +46,7 @@ static void setup(void)
e.events = EPOLLIN;
if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e))
- tst_brk(TBROK | TERRNO, "epoll_clt(..., EPOLL_CTL_ADD, ...)");
+ tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)");
SAFE_WRITE(SAFE_WRITE_ALL, sfd[1], "w", 1);
}
@@ -50,7 +50,7 @@ static void setup(void)
epevs[0].data.fd = fds[0];
if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs[0]))
- tst_brk(TBROK | TERRNO, "epoll_clt(..., EPOLL_CTL_ADD, ...)");
+ tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)");
}
static void cleanup(void)
@@ -57,7 +57,7 @@ static void setup(void)
epevs[0].data.fd = fds[1];
if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[1], &epevs[0]))
- tst_brk(TBROK | TERRNO, "epoll_clt(..., EPOLL_CTL_ADD, ...)");
+ tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)");
}
static void verify_epoll_wait(unsigned int n)
@@ -49,7 +49,7 @@ static void setup(void)
epevs[0].data.fd = fds[0];
if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs[0]))
- tst_brk(TBROK | TERRNO, "epoll_clt(..., EPOLL_CTL_ADD, ...)");
+ tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)");
}
static void cleanup(void)