diff options
author | Dimitry Ivanov <dimitry@google.com> | 2016-07-13 16:28:20 -0700 |
---|---|---|
committer | Dimitry Ivanov <dimitry@google.com> | 2016-08-25 15:22:50 -0700 |
commit | 23af6af7c205f0aff0829c08a088b2dd79e9ffe0 (patch) | |
tree | c42341a0cc12daceee5fb8d582efa42027dedca9 | |
parent | 56762e036ba4dafee2c25dabddd4dc6f7b65f2a6 (diff) | |
download | bionic-23af6af7c205f0aff0829c08a088b2dd79e9ffe0.tar.gz |
Fix dlext.ns_smoke test
Check for updated error_message
Bug: http://b/31097098
Test: adb shell bionic-unit-tests32/64 --gtest_filter=dlext.ns*
(cherry picked from commit 3a6c6b3254b2033a9a0246013a2c8b486800624b)
Change-Id: I0f0dd59a6deba016d37d0ccc80113b62db86c1c2
-rw-r--r-- | tests/dlext_test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/dlext_test.cpp b/tests/dlext_test.cpp index ee61d5f9b..5501c8e2f 100644 --- a/tests/dlext_test.cpp +++ b/tests/dlext_test.cpp @@ -628,7 +628,9 @@ TEST(dlext, ns_smoke) { ASSERT_FALSE(android_init_namespaces(path.c_str(), nullptr)); ASSERT_STREQ("android_init_namespaces failed: error initializing public namespace: " - "\"libnstest_public.so\" was not found in the default namespace", dlerror()); + "a library with soname \"libnstest_public.so\" was not found in the " + "default namespace", + dlerror()); const std::string lib_path = std::string(getenv("ANDROID_DATA")) + NATIVE_TESTS_PATH; |