From df85774a457f1f0a32a8e5744c2bced057257d65 Mon Sep 17 00:00:00 2001 From: Nikita Pivkin Date: Wed, 25 Feb 2026 13:06:11 +0600 Subject: [PATCH] add comment about fd3 Signed-off-by: Nikita Pivkin --- test/test.bats | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test.bats b/test/test.bats index 9d7b22f..6317cfc 100644 --- a/test/test.bats +++ b/test/test.bats @@ -6,6 +6,8 @@ bats_load_library bats-file setup_file() { setup_trivy_env + # bats provides fd 3 for printing directly to the terminal + # see https://bats-core.readthedocs.io/en/stable/writing-tests.html#printing-to-the-terminal docker pull knqyf263/vuln-image:1.2.3 1>&3 2>&3 trivy image --download-db-only 1>&3 2>&3 }