mirror of
https://github.com/containers/podman.git
synced 2025-12-03 11:49:18 +08:00
Now that we only test compose v2 remove the special cases from the test code to simply the tests. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
15 lines
588 B
Bash
15 lines
588 B
Bash
# -*- bash -*-
|
|
|
|
CR=$'\r'
|
|
NL=$'\n'
|
|
|
|
cp docker-compose.yml docker-compose.yml.bak
|
|
sed -i -e 's/10001/10002/' docker-compose.yml
|
|
output=$(podman_compose up -d 2>&1)
|
|
|
|
# Horrible output check here but we really want to make sure that there are
|
|
# no unexpected warning/errors and the normal messages are send on stderr as
|
|
# well so we cannot check for an empty stderr.
|
|
expected="Container uptwice-app-1 Recreate${NL}Container uptwice-app-1 Recreated${NL}Container uptwice-app-1 Starting${NL}Container uptwice-app-1 Started"
|
|
is "$output" "$expected" "no error output in compose up (#15580)"
|