From 5de1e61bfdbf4c810f0b4ef2c428361fa073f6e3 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sun, 22 Nov 2026 16:42:30 +0000 Subject: [PATCH] test(gitea_runner): keep the newline after the fail-case touch trim_blocks removed the newline after the endif, so the touch and the gate call ran as one command and the ps-fails case never reached the gate. An inline expression keeps the line break. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm --- roles/gitea_runner/molecule/default/verify.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/gitea_runner/molecule/default/verify.yml b/roles/gitea_runner/molecule/default/verify.yml index 3af4faf..7d2555c 100644 --- a/roles/gitea_runner/molecule/default/verify.yml +++ b/roles/gitea_runner/molecule/default/verify.yml @@ -137,7 +137,7 @@ cmd: | rm -f /tmp/molecule-docker-fail printf '%s' '{{ gitea_runner_test_case.ids }}' > /tmp/molecule-docker-ids - {% if gitea_runner_test_case.fail %}touch /tmp/molecule-docker-fail{% endif %} + {{ 'touch /tmp/molecule-docker-fail' if gitea_runner_test_case.fail else ':' }} /usr/local/sbin/gitea-runner-docker-prune-gate 3600 loop: - {name: none, ids: "", fail: false, rc: 0, out: ""}