podman-compose/tests/exit-from
Povilas Kanapickas 6af7a2d691 tests: Optimize speed by using dumb-init to handle SIGTERM signal
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 14:45:53 +02:00
..
docker-compose.yaml tests: Optimize speed by using dumb-init to handle SIGTERM signal 2024-03-08 14:45:53 +02:00
README.md #289: exit code and test for that 2021-11-14 00:59:41 +02: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.