support/testing: test_hardening disable PIC/PIE
authorRomain Naour <romain.naour@gmail.com>
Thu, 13 May 2021 16:22:45 +0000 (18:22 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 18 May 2021 20:15:36 +0000 (22:15 +0200)
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] 810ba387bec3c5b6904e8893fb4cb6f9d3717466

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>
support/testing/tests/core/test_hardening.py

index 60e14303a3504cca29ad03b6a5e681d5c67143a1..e9d30f3a38ebe53880d5c7438c04d561d4b05b6b 100644 (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):