Merge "Track changes to Posix.* API."

This commit is contained in:
Narayan Kamath
2014-12-15 17:11:46 +00:00
committed by Gerrit Code Review

View File

@@ -130,6 +130,7 @@ public class PingTest extends AndroidTestCase {
// Check the response is an echo reply. // Check the response is an echo reply.
byte[] response = new byte[bytesRead]; byte[] response = new byte[bytesRead];
responseBuffer.flip();
responseBuffer.get(response, 0, bytesRead); responseBuffer.get(response, 0, bytesRead);
assertEquals((byte) 0x81, response[0]); assertEquals((byte) 0x81, response[0]);