Home | History | Annotate | Download | only in adb

Lines Matching refs:unix_isatty

103 TEST(sysdeps_win32, unix_isatty) {
106 // permissions are required for unix_isatty().
111 EXPECT_EQ(1, unix_isatty(fd));
115 // nul returns 1 from isatty(), make sure unix_isatty() corrects that.
119 EXPECT_EQ(0, unix_isatty(nul_fd));
126 EXPECT_EQ(0, unix_isatty(temp_file.fd));
130 EXPECT_EQ(0, unix_isatty(temp_file_ro_fd));
136 EXPECT_EQ(0, unix_isatty(pipe_fds[0]));
137 EXPECT_EQ(0, unix_isatty(pipe_fds[1]));
142 EXPECT_EQ(0, unix_isatty(-1));