diff options
-rw-r--r-- | test/test-functions | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/test-functions b/test/test-functions index cfae5e9fda..b17a74a450 100644 --- a/test/test-functions +++ b/test/test-functions @@ -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:?}" |