| Index: native_client_sdk/src/tests/nacl_io_test/mount_node_tty_test.cc
|
| diff --git a/native_client_sdk/src/tests/nacl_io_test/mount_node_tty_test.cc b/native_client_sdk/src/tests/nacl_io_test/mount_node_tty_test.cc
|
| index 02adb153ab690a5f2a6fba25704e786b1560deb2..bd27fae3476824c2afdebbe1fd619b0ab0c06275 100644
|
| --- a/native_client_sdk/src/tests/nacl_io_test/mount_node_tty_test.cc
|
| +++ b/native_client_sdk/src/tests/nacl_io_test/mount_node_tty_test.cc
|
| @@ -219,9 +219,9 @@ TEST_F(TtyTest, TtyICANON) {
|
| ASSERT_EQ(IsReadable(tty_fd), 0);
|
|
|
| struct termios tattr;
|
| - tcgetattr(tty_fd, &tattr);
|
| + ki_tcgetattr(tty_fd, &tattr);
|
| tattr.c_lflag &= ~(ICANON|ECHO); /* Clear ICANON and ECHO. */
|
| - tcsetattr(tty_fd, TCSAFLUSH, &tattr);
|
| + ki_tcsetattr(tty_fd, TCSAFLUSH, &tattr);
|
|
|
| ASSERT_EQ(IsReadable(tty_fd), 0);
|
|
|
| @@ -234,7 +234,7 @@ TEST_F(TtyTest, TtyICANON) {
|
|
|
| // Read byte from tty.
|
| char c;
|
| - ASSERT_EQ(1, read(tty_fd, &c, 1));
|
| + ASSERT_EQ(1, ki_read(tty_fd, &c, 1));
|
| ASSERT_EQ('a', c);
|
|
|
| ASSERT_EQ(IsReadable(tty_fd), 0);
|
|
|