support/testing: test_hardening disable PIC/PIE

Since [1], PIC/PIE is enabled by default but the TestRelroPartial
test expect implicitely PIC/PIE being disabled.

Disable PIC/PIE from the config fragment provided by
TestRelroPartial.

[1] 810ba387be

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/1255661757

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Romain Naour 2021-05-13 18:22:45 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent c2ebfe7d78
commit 45a13be315

View File

@ -52,6 +52,7 @@ class TestRelroPartial(TestHardeningBase):
config = TestHardeningBase.config + \
"""
BR2_RELRO_PARTIAL=y
# BR2_PIC_PIE is not set
"""
def test_run(self):