From 1e572f3a653ddd6385a0ea49cacfbf2f3a32ce87 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 8 Jul 2025 14:27:45 -0400 Subject: Increase lines_on_error from 100 to 1000 * Debug messages are chatty --- src/cli/stasis/stasis_main.c | 2 +- tests/setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/stasis/stasis_main.c b/src/cli/stasis/stasis_main.c index 65bf5a8..2ce6831 100644 --- a/src/cli/stasis/stasis_main.c +++ b/src/cli/stasis/stasis_main.c @@ -62,7 +62,7 @@ static void configure_stasis_ini(struct Delivery *ctx, char **config_input) { } ctx->_stasis_ini_fp.cfg_path = strdup(*config_input); if (!ctx->_stasis_ini_fp.cfg_path) { - SYSERROR("Failed to allocate memory for config file name"); + SYSERROR("%s", "Failed to allocate memory for config file name"); exit(1); } guard_free(*config_input); diff --git a/tests/setup.sh b/tests/setup.sh index 41d8d49..bce2fbd 100644 --- a/tests/setup.sh +++ b/tests/setup.sh @@ -109,7 +109,7 @@ STASIS_TEST_RESULT_SKIP=0 run_command() { local logfile="$(mktemp).log" local cmd="${@}" - local lines_on_error=100 + local lines_on_error=1000 /bin/echo "Testing: $cmd " $cmd &>"$logfile" -- cgit