now
[ghsmtp.git] / POSIX-test.cpp
blobf3faeddc047176b49904d7512a895d3a67b203a8
1 #include "POSIX.hpp"
3 #include <glog/logging.h>
5 int main(int argc, char* argv[])
7 POSIX::set_nonblocking(0);
9 // Input /might/ be ready, so no CHECK().
10 POSIX::input_ready(0, std::chrono::milliseconds(1));
11 CHECK(POSIX::output_ready(1, std::chrono::milliseconds(1)));