Index: mojo/public/c/system/tests/core_unittest.cc |
diff --git a/mojo/public/c/system/tests/core_unittest.cc b/mojo/public/c/system/tests/core_unittest.cc |
index ef44a8748816157d354e673ed39937ed263c2aaf..8a5438079a3589300e6bf05fb4a2113b9fbbd242 100644 |
--- a/mojo/public/c/system/tests/core_unittest.cc |
+++ b/mojo/public/c/system/tests/core_unittest.cc |
@@ -192,7 +192,8 @@ TEST(CoreTest, BasicDataPipe) { |
MojoWait(hc, MOJO_HANDLE_SIGNAL_READABLE, 0, &state)); |
EXPECT_EQ(MOJO_HANDLE_SIGNAL_NONE, state.satisfied_signals); |
- EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED, |
+ EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED | |
+ MOJO_HANDLE_SIGNAL_NEW_DATA_READABLE, |
state.satisfiable_signals); |
// The producer |hp| should be writable. |
@@ -229,8 +230,10 @@ TEST(CoreTest, BasicDataPipe) { |
&result_index, states)); |
EXPECT_EQ(0u, result_index); |
- EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE, states[0].satisfied_signals); |
- EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED, |
+ EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_NEW_DATA_READABLE, |
+ states[0].satisfied_signals); |
+ EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED | |
+ MOJO_HANDLE_SIGNAL_NEW_DATA_READABLE, |
states[0].satisfiable_signals); |
// Do a two-phase write to |hp|. |