aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Ivanov <dimitry@google.com>2016-07-13 16:28:20 -0700
committerDimitry Ivanov <dimitry@google.com>2016-08-25 15:22:50 -0700
commit23af6af7c205f0aff0829c08a088b2dd79e9ffe0 (patch)
treec42341a0cc12daceee5fb8d582efa42027dedca9
parent56762e036ba4dafee2c25dabddd4dc6f7b65f2a6 (diff)
downloadbionic-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.cpp4
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;