diff --git a/tests/dlext_test.cpp b/tests/dlext_test.cpp index a0e83fe86..c3230e75e 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()); ASSERT_FALSE(android_init_namespaces("", nullptr)); ASSERT_STREQ("android_init_namespaces failed: error initializing public namespace: "