diff options
author | ngie <ngie@FreeBSD.org> | 2014-10-23 07:05:14 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2014-10-23 07:05:14 +0000 |
commit | b7c71ae0766a45af8e1cada6b7d54cfd54aa0029 (patch) | |
tree | 1b07bf485098080eb59cd0e0189cbd82739145ee /contrib/netbsd-tests | |
parent | afc0360866f8f6b208b8bd7d584b89d6a9c75f7a (diff) | |
download | FreeBSD-src-b7c71ae0766a45af8e1cada6b7d54cfd54aa0029.zip FreeBSD-src-b7c71ae0766a45af8e1cada6b7d54cfd54aa0029.tar.gz |
Omit the pollts testcases on FreeBSD
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/netbsd-tests')
-rw-r--r-- | contrib/netbsd-tests/lib/libc/sys/t_poll.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/sys/t_poll.c b/contrib/netbsd-tests/lib/libc/sys/t_poll.c index 7a786d2..805773d 100644 --- a/contrib/netbsd-tests/lib/libc/sys/t_poll.c +++ b/contrib/netbsd-tests/lib/libc/sys/t_poll.c @@ -233,6 +233,7 @@ ATF_TC_BODY(poll_err, tc) ATF_REQUIRE_ERRNO(EINVAL, poll(&pfd, 1, -2) == -1); } +#if !defined(__FreeBSD__) ATF_TC(pollts_basic); ATF_TC_HEAD(pollts_basic, tc) { @@ -377,6 +378,7 @@ ATF_TC_BODY(pollts_sigmask, tc) ATF_REQUIRE_EQ(close(fd), 0); } +#endif ATF_TP_ADD_TCS(tp) { @@ -384,9 +386,11 @@ ATF_TP_ADD_TCS(tp) ATF_TP_ADD_TC(tp, poll_3way); ATF_TP_ADD_TC(tp, poll_basic); ATF_TP_ADD_TC(tp, poll_err); +#if !defined(__FreeBSD__) ATF_TP_ADD_TC(tp, pollts_basic); ATF_TP_ADD_TC(tp, pollts_err); ATF_TP_ADD_TC(tp, pollts_sigmask); +#endif return atf_no_error(); } |