summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDmitriy Ivanov <dimitry@google.com>2015-06-09 13:46:51 -0700
committerDmitriy Ivanov <dimitry@google.com>2015-06-09 13:47:46 -0700
commit524f1f1efe0cb32714c61e26f21701ac952b9e42 (patch)
treef10f90656194ba8557626413fc6e16bc88fc41f0 /tests
parent26e663d4796e74fc40a62b3d2a438b726bbb056e (diff)
downloadbionic-524f1f1efe0cb32714c61e26f21701ac952b9e42.zip
bionic-524f1f1efe0cb32714c61e26f21701ac952b9e42.tar.gz
bionic-524f1f1efe0cb32714c61e26f21701ac952b9e42.tar.bz2
Make path to apk compliant with jar url format
Bug: http://b/21726698 Bug: http://b/8076853 Change-Id: I8c1942a98fe3119746b4dc9f60a7ff215ea7009c
Diffstat (limited to 'tests')
-rw-r--r--tests/dlext_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dlext_test.cpp b/tests/dlext_test.cpp
index 56a8f6f..f901708 100644
--- a/tests/dlext_test.cpp
+++ b/tests/dlext_test.cpp
@@ -214,7 +214,7 @@ TEST(dlext, android_dlopen_ext_force_load_soname_exception) {
TEST(dlfcn, dlopen_from_zip_absolute_path) {
const std::string lib_path = std::string(getenv("ANDROID_DATA")) + LIBZIPPATH;
- void* handle = dlopen((lib_path + "!libdir/libdlext_test_fd.so").c_str(), RTLD_NOW);
+ void* handle = dlopen((lib_path + "!/libdir/libdlext_test_fd.so").c_str(), RTLD_NOW);
ASSERT_TRUE(handle != nullptr) << dlerror();
int (*fn)(void);
@@ -226,7 +226,7 @@ TEST(dlfcn, dlopen_from_zip_absolute_path) {
}
TEST(dlfcn, dlopen_from_zip_ld_library_path) {
- const std::string lib_path = std::string(getenv("ANDROID_DATA")) + LIBZIPPATH + "!libdir";
+ const std::string lib_path = std::string(getenv("ANDROID_DATA")) + LIBZIPPATH + "!/libdir";
typedef void (*fn_t)(const char*);
fn_t android_update_LD_LIBRARY_PATH =