]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Test] Use safer AWK variable passing to prevent syntax errors
authorVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 17 Oct 2025 13:48:17 +0000 (14:48 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 17 Oct 2025 13:48:17 +0000 (14:48 +0100)
commit437d56bf6be5188a82b74a574c5fe503c810828c
tree34408fa60d6bb580016ee57bee35c6dc0bb7a1bf
parentcc55879356591bccfaf0e60bb4ca5adbbc715de2
[Test] Use safer AWK variable passing to prevent syntax errors

- Validate all count variables are numeric using grep
- Use awk -v to pass variables instead of bash substitution
- This prevents syntax errors when jq returns non-numeric values
test/integration/scripts/integration-test.sh