Merge "Track changes to Posix.* API."
This commit is contained in:
@@ -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]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user