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:
parent
156ba52b43
commit
386427cfcf
@ -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=$?
|
||||
|
Loading…
x
Reference in New Issue
Block a user