1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-22 17:57:49 +03:00

test: disable echo earlier

This commit is contained in:
Yu Watanabe 2022-06-28 06:31:49 +09:00
parent 156ba52b43
commit 386427cfcf

View File

@ -4,10 +4,10 @@
# utility functions for shell tests
assert_true() {(
local rc
set +ex
local rc
"$@"
rc=$?
if [[ $rc -ne 0 ]]; then
@ -47,10 +47,10 @@ assert_not_in() {(
)}
assert_rc() {(
local rc exp="${1?}"
set +ex
local rc exp="${1?}"
shift
"$@"
rc=$?