diff --git a/test/blackbox/ci.sh b/test/blackbox/ci.sh index 1cf532d7..832c4e1d 100755 --- a/test/blackbox/ci.sh +++ b/test/blackbox/ci.sh @@ -14,7 +14,8 @@ ${SCRIPTPATH}/setup_images.sh tests=("pushpull" "pushpull_authn" "delete_images" "referrers" "metadata" "anonymous_policy" "annotations" "detect_manifest_collision" "cve" "sync" "sync_docker" "sync_replica_cluster" "scrub" "garbage_collect" "metrics" "metrics_minimal" "multiarch_index" "docker_compat" "redis_local" "redis_session_store" - "events_nats" "events_http" "events_nats_lint_failure" "events_http_lint_failure" "events_sink_failure" "events_config_decoding") + "events_nats" "events_http" "events_nats_lint_failure" "events_http_lint_failure" "events_sink_failure" "events_config_decoding" + "fips140") for test in ${tests[*]}; do ${BATS} ${BATS_FLAGS} ${SCRIPTPATH}/${test}.bats > ${test}.log & pids+=($!) diff --git a/test/blackbox/fips140.bats b/test/blackbox/fips140.bats index 88400180..7adfc152 100644 --- a/test/blackbox/fips140.bats +++ b/test/blackbox/fips140.bats @@ -29,11 +29,13 @@ function setup_file() { # Setup zot server local zot_root_dir=${BATS_FILE_TMPDIR}/zot local zot_config_file=${BATS_FILE_TMPDIR}/zot_config.json + ZOT_LOG_FILE=${zot_root_dir}/zot-log.json local oci_data_dir=${BATS_FILE_TMPDIR}/oci mkdir -p ${zot_root_dir} mkdir -p ${oci_data_dir} zot_port=$(get_free_port_for_service "zot") echo ${zot_port} > ${BATS_FILE_TMPDIR}/zot.port + touch ${ZOT_LOG_FILE} cat > ${zot_config_file}<