summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2017-05-18 06:13:02 (GMT)
committerBrad King <brad.king@kitware.com>2017-05-18 14:26:09 (GMT)
commit94cd4505f7d6884c9ed9b596dcb34112483d42e4 (patch)
treeedc1d63bac0b3691eeaac15e9275d0b76b61a866 /Tests
parent02d11868827417e88cbbee795703421dfdb342f6 (diff)
downloadCMake-94cd4505f7d6884c9ed9b596dcb34112483d42e4.zip
CMake-94cd4505f7d6884c9ed9b596dcb34112483d42e4.tar.gz
CMake-94cd4505f7d6884c9ed9b596dcb34112483d42e4.tar.bz2
Tests: Make function name not match SONAME
We look for `SONAME` in the output of `readelf` to check whether the binary contains the field. Do not provide a symbol that may accidentally match. Fixes: #16894
Diffstat (limited to 'Tests')
-rw-r--r--Tests/ExportImport/Export/testLibNoSONAME.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/ExportImport/Export/testLibNoSONAME.c b/Tests/ExportImport/Export/testLibNoSONAME.c
index 30acc83..4d98562 100644
--- a/Tests/ExportImport/Export/testLibNoSONAME.c
+++ b/Tests/ExportImport/Export/testLibNoSONAME.c
@@ -4,7 +4,7 @@
#define testLibNoSONAME_EXPORT
#endif
-testLibNoSONAME_EXPORT int testLibNoSONAME(void)
+testLibNoSONAME_EXPORT int testLibNoSoName(void)
{
return 0;
}