| Index: native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc
|
| diff --git a/native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc b/native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc
|
| index 8f9957c7d7917ee7b563c4ae6f47138d4e6e523f..75469c72c9168042f02281636a83c1e20090af63 100644
|
| --- a/native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc
|
| +++ b/native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc
|
| @@ -252,6 +252,13 @@ TEST_F(KernelWrapTest, open) {
|
| open("open", 3456);
|
| }
|
|
|
| +TEST_F(KernelWrapTest, pipe) {
|
| + int fds[2] = { 1, 2 };
|
| +
|
| + EXPECT_CALL(mock, pipe(fds)).Times(1);
|
| + pipe(fds);
|
| +}
|
| +
|
| TEST_F(KernelWrapTest, read) {
|
| EXPECT_CALL(mock, read(4567, NULL, 5678)).Times(1);
|
| read(4567, NULL, 5678);
|
|
|