133a37ede3e955093c6004d94496e2cdc2cc1264 |
|
20-Oct-2010 |
David 'Digit' Turner <digit@google.com> |
tests: Refine Bionic dlclose destruction test. The purpose of this change is to test that C constructors and destructors contained in shared libraries are properly called when the corresponding libs are loaded and unloaded through dlopen() and dlclose(), or when the program exits. The test_dlclose_destruction test already performs this for static C++ construction/destruction. The change refines it with another shared library that uses __attribute__((constructor)) and __attribute__((destructor)) from C instead (see the new libdlclosetest2 shared library). A new test, test_executable_destructor is also added to check that the constructor and destructor functions located in the executable program itself are properly called. Change-Id: If364d1c710282e8117f980b09490770e7d8d1e33
/system/extras/tests/bionic/libc/common/test_gethostname.c
|
e16cb84e2324f05334d18dcf5956f20f44262b62 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/system/extras/tests/bionic/libc/common/test_gethostname.c
|
19ddb4b1680760e2d6863c3003976882ebd9d0fa |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/system/extras/tests/bionic/libc/common/test_gethostname.c
|
ab8beedeb70c6941e0ff68014d8db64cee4ef15d |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/system/extras/tests/bionic/libc/common/test_gethostname.c
|