mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-12 08:58:20 +03:00
test: don't use ddebug() before it's defined
I'm pretty sure this is not the only case, but it's the one I recently noticed. Even though we call ddebug() from a function, that function is called before ddebug() is defined, resulting in the same issue as if we called just ddebug() in its place, i.e.: ..//test-functions: line 276: ddebug: command not found
This commit is contained in:
parent
6162caa288
commit
f258a76332
@ -273,7 +273,7 @@ is_built_with_asan() {
|
||||
local _bin="${1:?}"
|
||||
|
||||
if ! type -P objdump >/dev/null; then
|
||||
ddebug "Failed to find objdump. Assuming systemd hasn't been built with ASAN."
|
||||
echo "Failed to find objdump, assuming systemd hasn't been built with ASAN."
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user