commit | eebf5fddf3db685213831d963f924fd3c6ff6692 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Nov 30 16:56:43 2018 -0800 |
committer | Elliott Hughes <enh@google.com> | Mon Dec 03 08:46:21 2018 -0800 |
tree | 8b7839d279946bad9be6b3e2c9467c44f361ce1a | |
parent | c466664c4703fdb9e540c33bd31e0b44d88d891d [diff] [blame] |
Reduce strerror(3)'s impact on .data.rel.ro. Test: tests pass Change-Id: I60b15dfac6ca7dce45f4858ad10b8255e2f1b66d
diff --git a/tests/string_test.cpp b/tests/string_test.cpp index 8bfa964..fd2a787 100644 --- a/tests/string_test.cpp +++ b/tests/string_test.cpp
@@ -61,7 +61,7 @@ // Invalid. ASSERT_STREQ("Unknown error -1", strerror(-1)); - ASSERT_STREQ("Unknown error 1234", strerror(1234)); + ASSERT_STREQ("Unknown error 134", strerror(EHWPOISON + 1)); } #if defined(__BIONIC__)