test: install libgcc_s.so.1 explicitly if available
authorFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 2 Aug 2022 11:54:57 +0000 (13:54 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 2 Aug 2022 16:28:35 +0000 (18:28 +0200)
commit5f347d3160f745b8ed1c1290a61956cdcc09a73a
tree774fc06321a68aa187cbacd87466b26668af3ebd
parent859614439a77da2a69118235a0e78c94c8449aaa
test: install libgcc_s.so.1 explicitly if available

Since the library is dlopen()ed by libpthread and required during
pthread_exit()/pthread_cancel(), let's install it explicitly if available to
avoid unexpected fails in tests. This also consolidates all related
workarounds for this library across the test scripts.
test/TEST-70-TPM2/test.sh
test/test-functions