Home | History | Annotate | Download | only in adb

Lines Matching refs:unix_isatty

73 TEST(sysdeps_win32, unix_isatty) {
76 // permissions are required for unix_isatty().
81 EXPECT_EQ(1, unix_isatty(fd));
85 // nul returns 1 from isatty(), make sure unix_isatty() corrects that.
89 EXPECT_EQ(0, unix_isatty(nul_fd));
96 EXPECT_EQ(0, unix_isatty(temp_file.fd));
100 EXPECT_EQ(0, unix_isatty(temp_file_ro_fd));
106 EXPECT_EQ(0, unix_isatty(pipe_fds[0]));
107 EXPECT_EQ(0, unix_isatty(pipe_fds[1]));
112 EXPECT_EQ(0, unix_isatty(-1));