Skip to content

Commit

Permalink
test(annotations): print logs for annotations bats tests
Browse files Browse the repository at this point in the history
Signed-off-by: Laurentiu Niculae <[email protected]>
  • Loading branch information
laurentiuNiculae committed Aug 7, 2023
1 parent fce9a02 commit a92b88a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/blackbox/annotations.bats
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ function setup_file() {
"port": "8080"
},
"log": {
"level": "debug"
"level": "debug",
"output": "/tmp/zot.log"
},
"extensions":{
"search": {
Expand Down Expand Up @@ -57,6 +58,7 @@ EOF
}

function teardown_file() {
cat /tmp/zot.log >&3
local zot_root_dir=${BATS_FILE_TMPDIR}/zot
local oci_data_dir=${BATS_FILE_TMPDIR}/oci
local roots_data_dir=${BATS_FILE_TMPDIR}/roots
Expand Down

0 comments on commit a92b88a

Please sign in to comment.