From 6e33b0296d23c75bdefa53f0bf0b08c0d877a652 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 7 Nov 2012 18:16:02 -0800 Subject: [PATCH] Fix dlopen_library_with_only_gnu_hash_Test. Change-Id: Id3395f155587cfa74061f97a2cb4c6a6e59c13dc --- tests/dlopen_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/dlopen_test.cpp b/tests/dlopen_test.cpp index 794fb970c..f042503ee 100644 --- a/tests/dlopen_test.cpp +++ b/tests/dlopen_test.cpp @@ -192,8 +192,8 @@ TEST(dlopen, dladdr_invalid) { // Our dynamic linker doesn't support GNU hash tables. TEST(dlopen, library_with_only_gnu_hash) { dlerror(); // Clear any pending errors. - void* handle = dlopen("empty-library.so", RTLD_NOW); + void* handle = dlopen("no-elf-hash-table-library.so", RTLD_NOW); ASSERT_TRUE(handle == NULL); - ASSERT_STREQ("dlopen failed: empty/missing DT_HASH in \"empty-library.so\" (built with --hash-style=gnu?)", dlerror()); + ASSERT_STREQ("dlopen failed: empty/missing DT_HASH in \"no-elf-hash-table-library.so\" (built with --hash-style=gnu?)", dlerror()); } #endif