podman-compose/tests/integration/exit-from
Povilas Kanapickas 18472b53ac Move all tests to single directory "tests"
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-06-26 11:28:16 +03:00
..
docker-compose.yaml Move all tests to single directory "tests" 2024-06-26 11:28:16 +03:00
README.md Move all tests to single directory "tests" 2024-06-26 11:28:16 +03:00

We have service named sh1 that exits with code 1 and sh2 that exists with code 2

podman-compose up --exit-code-from=sh1
echo $?

the above should give 1.

podman-compose up --exit-code-from=sh2
echo $?

the above should give 2.