aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2025-07-08 14:27:45 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2025-07-08 14:31:51 -0400
commit1e572f3a653ddd6385a0ea49cacfbf2f3a32ce87 (patch)
tree99719cf91d7faaf8ad37ef70d3baaaf3ce316176
parent49ea0d34021047fd8c48f6f0f5cb83533d33001c (diff)
downloadstasis-breakdown.tar.gz
Increase lines_on_error from 100 to 1000breakdown
* Debug messages are chatty
-rw-r--r--src/cli/stasis/stasis_main.c2
-rw-r--r--tests/setup.sh2
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"