Skip to content

[test] Test that the exec-stack bit isn't set on libzstd.so#2886

Merged
terrelln merged 1 commit intofacebook:devfrom
terrelln:issue-2865
Dec 1, 2021
Merged

[test] Test that the exec-stack bit isn't set on libzstd.so#2886
terrelln merged 1 commit intofacebook:devfrom
terrelln:issue-2865

Conversation

@terrelln
Copy link
Contributor

Tests that libzstd.so doesn't have the exec-stack bit set using
readelf. If the stack is marked executable systemd will refuse
to link against zstd. We now test that it isn't set on every PR.

Adds a test for PR #2857
Fixes Issue #2865

isPresent "zstd_v07.o"
mustBeAbsent "zbuff_compress.o"
$RM $DIR/../lib/libzstd.a tmplog
rm tmplog
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor : consistency : rm -> $RM

Tests that libzstd.so doesn't have the exec-stack bit set using
readelf. If the stack is marked executable systemd will refuse
to link against zstd. We now test that it isn't set on every PR.

Adds a test for PR facebook#2857
Fixes Issue facebook#2865
@terrelln terrelln merged commit e34e58b into facebook:dev Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants