diff --git a/tests/bats/build_docker_image.bats b/tests/bats/build_docker_image.bats index 303197d9708..1e0782cc58d 100644 --- a/tests/bats/build_docker_image.bats +++ b/tests/bats/build_docker_image.bats @@ -4,23 +4,7 @@ load "${BATS_TEST_DIRNAME}/common_tests.sh" setup() { dockerfile="/tmp/rust_golang_dockerfile" - cat > $dockerfile < $dockerfile </tmp/nydus-erofs-config.json <${BATS_TEST_DIRNAME}/nydus-snapshotter-${BATS_TEST_NAME}.log 2>&1 & + --log-to-stdout > $nydus_snapshotter_logfile 2>&1 & } config_containerd_for_nydus() {