diff options
author | fanquake <fanquake@gmail.com> | 2021-07-02 14:22:04 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-10-12 08:36:15 +0800 |
commit | 309eac9019c224dfd79a78e381cfcb70fee190f3 (patch) | |
tree | ac28e7425c940665d738c3a42320cf5cb1ad08ad /contrib/devtools/test-symbol-check.py | |
parent | 610a8a8e39c1d94839dfb7e1c66c01f13f946657 (diff) | |
download | bitcoin-309eac9019c224dfd79a78e381cfcb70fee190f3.tar.xz |
scripts: use LIEF for ELF checks in symbol-check.py
Co-authored-by: Carl Dong <contact@carldong.me>
Diffstat (limited to 'contrib/devtools/test-symbol-check.py')
-rwxr-xr-x | contrib/devtools/test-symbol-check.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/devtools/test-symbol-check.py b/contrib/devtools/test-symbol-check.py index 40143f9e23..5246375fe3 100755 --- a/contrib/devtools/test-symbol-check.py +++ b/contrib/devtools/test-symbol-check.py @@ -60,7 +60,7 @@ class TestSymbolChecks(unittest.TestCase): ''') self.assertEqual(call_symbol_check(cc, source, executable, ['-lm']), - (1, executable + ': symbol nextup from unsupported version GLIBC_2.24\n' + + (1, executable + ': symbol nextup from unsupported version GLIBC_2.24(3)\n' + executable + ': failed IMPORTED_SYMBOLS')) # -lutil is part of the libc6 package so a safe bet that it's installed @@ -79,7 +79,7 @@ class TestSymbolChecks(unittest.TestCase): ''') self.assertEqual(call_symbol_check(cc, source, executable, ['-lutil']), - (1, executable + ': NEEDED library libutil.so.1 is not allowed\n' + + (1, executable + ': libutil.so.1 is not in ALLOWED_LIBRARIES!\n' + executable + ': failed LIBRARY_DEPENDENCIES')) # finally, check a simple conforming binary |