Skip to content

Commit c5d95fb

Browse files
authored
[test] Use libside rather then the somewhat confusing liblib. NFC (#25825)
1 parent cec16d2 commit c5d95fb

File tree

4 files changed

+68
-68
lines changed

4 files changed

+68
-68
lines changed

test/core/pthread/test_pthread_dlopen_many.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ void* thread_main(void* arg) {
3030
while (thread_count != NUM_THREADS) {}
3131

3232
char filename[255];
33-
sprintf(filename, "liblib%d.so", num);
33+
sprintf(filename, "libside%d.so", num);
3434
printf("loading %s\n", filename);
3535
void* handle = dlopen(filename, RTLD_NOW|RTLD_GLOBAL);
3636
printf("done loading %s (total=%d)\n", filename, ++dso_count);

test/core/pthread/test_pthread_dlsym.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ func_t g_two;
1010
func_t g_three;
1111

1212
void* open_lib() {
13-
void* handle = dlopen("liblib.so", RTLD_NOW|RTLD_GLOBAL);
13+
void* handle = dlopen("libside.so", RTLD_NOW|RTLD_GLOBAL);
1414
if (!handle) {
1515
printf("dlerror: %s\n", dlerror());
1616
assert(handle);

test/core/pthread/test_pthread_dylink_entry_point.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ typedef void* (*thread_main_t)(void*);
77
int main() {
88
puts("hello from main");
99

10-
void *lib_handle = dlopen("./liblib.so", RTLD_NOW);
10+
void *lib_handle = dlopen("./libside.so", RTLD_NOW);
1111
if (!lib_handle) {
1212
puts("cannot load side module");
1313
puts(dlerror());

0 commit comments

Comments
 (0)