Index: mojo/public/c/system/tests/core_unittest_pure_c.c |
diff --git a/mojo/public/c/system/tests/core_unittest_pure_c.c b/mojo/public/c/system/tests/core_unittest_pure_c.c |
index bb00927c3b664870b6c36daa4b1b5fa59d4178f6..74cc17db0c3ef97397fcad3b2eaf653b1290d51d 100644 |
--- a/mojo/public/c/system/tests/core_unittest_pure_c.c |
+++ b/mojo/public/c/system/tests/core_unittest_pure_c.c |
@@ -68,7 +68,12 @@ const char* MinimalCTest(void) { |
// "Deadline exceeded" doesn't apply to a single handle, so this should leave |
// |result_index| untouched. |
+#if defined(__native_client__) |
+ // The NaCl syscall wrapper currently writes to all its outputs. |
Mark Seaborn
2014/12/08 22:24:12
Should there be a TODO here?
Nick Bray (chromium)
2014/12/09 22:14:31
What should be done here is currently under discus
|
+ EXPECT_EQ(0u, result_index); |
+#else |
EXPECT_EQ(123u, result_index); |
+#endif |
EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, states[0].satisfied_signals); |
EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE | |
MOJO_HANDLE_SIGNAL_PEER_CLOSED, |