test_fail
void test_fail(void);
test_fail();
test_fail("expected EFAULT for NULL signal mask"
test_fail("expected EINVAL bad flags"
test_fail("failed to open signalfd, found res=%d errno=%d",
test_fail("expected no O_NONBLOCK, found flags=0x%x", res);
test_fail("expected no FD_CLOEXEC, found fdflags=0x%x", res);
test_fail("failed to open signalfd, found res=%d errno=%d",
test_fail("missing O_NONBLOCK, found flags=0x%x", res);
test_fail("missing FD_CLOEXEC, found fdflags=0x%x", res);
test_fail("expected EINVAL for too-small read, "
test_fail("bad read result, found sz=%ld errno=%d", sz, err);
test_fail("bad ssi_signo %d != %d", info[0].ssi_signo, SIGUSR1);
test_fail("bad read result, found sz=%ld errno=%d", sz, err);
test_fail("bad ssi_signo %d != %d", info[0].ssi_signo, SIGALRM);
test_fail("bad read result, found sz=%ld errno=%d", sz, err);
test_fail("bad ssi_signo %d != %d", info[0].ssi_signo, SIGUSR1);
test_fail("bad ssi_signo %d != %d", info[1].ssi_signo, SIGUSR2);
void test_fail(const char *, ...);
test_fail("unable to initialize signalfd resources");
test_fail("unable to initialize devpoll resource");
test_fail("unable to establish polling");