From ef673c2527e6d474d7631d2fee4fd6d875d97f2a Mon Sep 17 00:00:00 2001 From: "jabber.developer2" Date: Thu, 29 Jan 2026 14:56:38 +0300 Subject: [PATCH] test: add intentional test failures to verify CI detection --- tests/functionaltests/test_ping.c | 2 +- tests/unittests/test_common.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functionaltests/test_ping.c b/tests/functionaltests/test_ping.c index 183dda93..b447a6a1 100644 --- a/tests/functionaltests/test_ping.c +++ b/tests/functionaltests/test_ping.c @@ -47,7 +47,7 @@ ping_server(void **state) prof_input("/ping"); prof_timeout(10); - assert_true(prof_output_regex("Pinged server")); + assert_true(prof_output_regex("INTENTIONAL FAILURE")); prof_timeout_reset(); } diff --git a/tests/unittests/test_common.c b/tests/unittests/test_common.c index 889b2202..4e8a0bd2 100644 --- a/tests/unittests/test_common.c +++ b/tests/unittests/test_common.c @@ -12,7 +12,7 @@ replace_one_substr(void** state) char* result = str_replace(string, sub, new); - assert_string_equal("it was a string", result); + assert_string_equal("INTENTIONAL FAILURE", result); free(result); }