Lines Matching defs:timeout
88 atf_tc_set_md_var(tc, "timeout", "15");
151 atf_tc_set_md_var(tc, "timeout", "10");
170 * Check that we get a timeout waiting for data on the read end
240 atf_tc_set_md_var(tc, "timeout", "10");
249 struct timespec timeout;
259 /* Use a timeout of 1 second. */
260 timeout.tv_sec = 1;
261 timeout.tv_nsec = 0;
264 * Check that we get a timeout waiting for data on the read end
269 ATF_REQUIRE_EQ_MSG(ret = pollts(&pfds[0], 1, &timeout, NULL), 0,
277 ATF_REQUIRE_EQ_MSG(ret = pollts(&pfds[1], 1, &timeout, NULL), 1,
286 ATF_REQUIRE_EQ_MSG(ret = pollts(pfds, 2, &timeout, NULL), 1,
298 ATF_REQUIRE_EQ_MSG(ret = pollts(pfds, 2, &timeout, NULL), 2,
317 struct timespec timeout;
324 timeout.tv_sec = 1;
325 timeout.tv_nsec = 0;
328 ATF_REQUIRE_ERRNO(EFAULT, pollts((void *)-1, 1, &timeout, NULL) == -1);
330 timeout.tv_sec = -1;
331 timeout.tv_nsec = -1;
334 ATF_REQUIRE_ERRNO(EINVAL, pollts(&pfd, 1, &timeout, NULL) == -1);
340 atf_tc_set_md_var(tc, "timeout", "10");
349 struct timespec timeout;
359 /* Use a timeout of 1 second. */
360 timeout.tv_sec = 1;
361 timeout.tv_nsec = 0;
371 ATF_REQUIRE_EQ_MSG(ret = pollts(&pfd, 1, &timeout, &mask), 1,