am d29c9fc1: am b59e358b: Merge "fix strerror_r test"

* commit 'd29c9fc18860a41f59d390b4aab937b61dd63ea1':
  fix strerror_r test
This commit is contained in:
Nick Kralevich 2013-01-15 11:20:23 -08:00 committed by Android Git Automerger
commit 0112ee2190

View File

@ -77,7 +77,7 @@ TEST(string, strerror_r) {
// Invalid.
ASSERT_EQ(0, strerror_r(-1, buf, sizeof(buf)));
ASSERT_STREQ("Unknown error 4294967295", buf);
ASSERT_STREQ("Unknown error -1", buf);
ASSERT_EQ(0, strerror_r(1234, buf, sizeof(buf)));
ASSERT_STREQ("Unknown error 1234", buf);