mirror of
https://github.com/systemd/systemd.git
synced 2024-11-24 02:33:36 +08:00
test: make check_result_*() set -e
friendly
This commit is contained in:
parent
e6faf0ee22
commit
71d7f02cc7
@ -1711,8 +1711,7 @@ check_result_nspawn() {
|
||||
fi
|
||||
fi
|
||||
|
||||
check_result_common "${workspace}"
|
||||
ret=$?
|
||||
check_result_common "${workspace}" && ret=0 || ret=$?
|
||||
|
||||
_umount_dir "${initdir:?}"
|
||||
|
||||
@ -1732,8 +1731,7 @@ check_result_qemu() {
|
||||
fi
|
||||
fi
|
||||
|
||||
check_result_common "${initdir:?}"
|
||||
ret=$?
|
||||
check_result_common "${initdir:?}" && ret=0 || ret=$?
|
||||
|
||||
_umount_dir "${initdir:?}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user