# SPDX-License-Identifier: GPL-3.0-only import struct import unittest from build_passthrough import rename_soname class SonameTests(unittest.TestCase): def library(self): data = bytearray(512) data[:6] = b'\x7fELF\x02\x01' struct.pack_into('