mirror of
https://github.com/containers/podman.git
synced 2025-11-30 18:18:18 +08:00
Disable compose-warning-logs if PODMAN_COMPOSE_WARNING_LOGS=false
Fixes: e62c928642 ("Make podman-compose refer to podman-compose(1) when using an external provider")
- test: add coverage for PODMAN_COMPOSE_WARNING_LOGS
Signed-off-by: Petter Mikkelsen <43xhyr9m@anonaddy.me>
This commit is contained in:
@@ -295,11 +295,7 @@ else
|
||||
fi
|
||||
|
||||
# hide annoying podman compose warnings, some tests want to check compose stderr and this breaks it.
|
||||
CONTAINERS_CONF_OVERRIDE="$WORKDIR/containers.conf"
|
||||
echo '[engine]
|
||||
compose_warning_logs=false' > "$CONTAINERS_CONF_OVERRIDE"
|
||||
export CONTAINERS_CONF_OVERRIDE
|
||||
|
||||
export PODMAN_COMPOSE_WARNING_LOGS=false
|
||||
|
||||
# Identify the tests to run. If called with args, use those as globs.
|
||||
tests_to_run=()
|
||||
|
||||
Reference in New Issue
Block a user