Fix orthography of GetTestLibRoot().
Change-Id: Ib052329b3ebced12a7e2d75b3628b33c7043e0d8
diff --git a/tests/elftls_dl_test.cpp b/tests/elftls_dl_test.cpp
index bcb2b40..e160958 100644
--- a/tests/elftls_dl_test.cpp
+++ b/tests/elftls_dl_test.cpp
@@ -68,9 +68,9 @@
}
TEST(elftls_dl, dlopen_ie_error) {
- std::string helper = GetTestlibRoot() + "/elftls_dlopen_ie_error_helper";
- std::string src_path = GetTestlibRoot() + "/libtest_elftls_shared_var_ie.so";
- std::string dst_path = GetTestlibRoot() + "/libtest_elftls_shared_var.so";
+ std::string helper = GetTestLibRoot() + "/elftls_dlopen_ie_error_helper";
+ std::string src_path = GetTestLibRoot() + "/libtest_elftls_shared_var_ie.so";
+ std::string dst_path = GetTestLibRoot() + "/libtest_elftls_shared_var.so";
#if defined(__BIONIC__)
std::string error =
"dlerror: dlopen failed: TLS symbol \"elftls_shared_var\" in dlopened \"" + dst_path + "\" " +
@@ -154,7 +154,7 @@
TEST(elftls_dl, dtv_resize) {
#if defined(__BIONIC__)
- std::string helper = GetTestlibRoot() + "/elftls_dtv_resize_helper";
+ std::string helper = GetTestLibRoot() + "/elftls_dtv_resize_helper";
chmod(helper.c_str(), 0755); // TODO: "x" lost in CTS, b/34945607
ExecTestHelper eth;
eth.SetArgs({helper.c_str(), nullptr});
@@ -273,7 +273,7 @@
Dl_info info;
ASSERT_NE(0, dladdr(local_addr, &info));
- std::string libpath = GetTestlibRoot() + "/libtest_elftls_dynamic.so";
+ std::string libpath = GetTestLibRoot() + "/libtest_elftls_dynamic.so";
char dli_realpath[PATH_MAX];
ASSERT_TRUE(realpath(info.dli_fname, dli_realpath));
ASSERT_STREQ(libpath.c_str(), dli_realpath);