debug: Suppress FAIL macro redefinition warning in tst-fortify

Message ID 87a5gehbzs.fsf@oldenburg.str.redhat.com
State Under Review
Delegated to: Carlos O'Donell
Headers
Series debug: Suppress FAIL macro redefinition warning in tst-fortify |

Checks

Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
redhat-pt-bot/TryBot-32bit success Build for i686
linaro-tcwg-bot/tcwg_glibc_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_glibc_check--master-arm success Test passed
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 success Test passed

Commit Message

Florian Weimer Sept. 11, 2024, 7:43 a.m. UTC
  Fixes commit 1b97a9f23bf605ca608162089c94187573fb2a9e
("support: Add FAIL test failure helper").

---
 debug/tst-fortify.c | 1 +
 1 file changed, 1 insertion(+)


base-commit: 8ecb477ea16a387a44ace5bf59d39a7e270b238b
  

Patch

diff --git a/debug/tst-fortify.c b/debug/tst-fortify.c
index ae738ff10a..54d67111fa 100644
--- a/debug/tst-fortify.c
+++ b/debug/tst-fortify.c
@@ -129,6 +129,7 @@  static char buf2[10] = "%s";
 static int num1 = 67;
 static int num2 = 987654;
 
+#undef FAIL
 #define FAIL() \
   do { printf ("Failure on line %d\n", __LINE__); ret = 1; } while (0)
 #define CHK_FAIL_START \