mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-09 12:35:48 +01:00
behave: Propagate exit codes in the shell scripts properly
This commit is contained in:
parent
ab967a921c
commit
8f6bafde0a
@ -7,3 +7,5 @@ podman build "$@" \
|
|||||||
--volume="$TOPDIR":/opt/obs \
|
--volume="$TOPDIR":/opt/obs \
|
||||||
$TOPDIR \
|
$TOPDIR \
|
||||||
2>&1 | tee container-build.log
|
2>&1 | tee container-build.log
|
||||||
|
|
||||||
|
exit $?
|
||||||
|
@ -17,3 +17,5 @@ podman run \
|
|||||||
|
|
||||||
sleep 0.5
|
sleep 0.5
|
||||||
podman exec -it obs-server /usr/bin/systemctl is-system-running --wait
|
podman exec -it obs-server /usr/bin/systemctl is-system-running --wait
|
||||||
|
|
||||||
|
exit $?
|
||||||
|
@ -7,3 +7,5 @@ podman exec \
|
|||||||
--tty \
|
--tty \
|
||||||
obs-server \
|
obs-server \
|
||||||
/bin/bash
|
/bin/bash
|
||||||
|
|
||||||
|
exit $?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user