From: Evgeny Vereshchagin Date: Sun, 23 Dec 2018 13:12:20 +0000 (+0100) Subject: tests: use systemd-journald to check whether everything has been built with ASan X-Git-Tag: v241-rc1~114^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b4a450d85fac8fd738f8f20989a38d522072369f;p=thirdparty%2Fsystemd.git tests: use systemd-journald to check whether everything has been built with ASan --- diff --git a/test/test-functions b/test/test-functions index 37069396b7e..169ecdbf137 100644 --- a/test/test-functions +++ b/test/test-functions @@ -37,7 +37,7 @@ is_built_with_asan() { fi # Borrowed from https://github.com/google/oss-fuzz/blob/cd9acd02f9d3f6e80011cc1e9549be526ce5f270/infra/base-images/base-runner/bad_build_check#L182 - local _asan_calls=$(objdump -dC $BUILD_DIR/systemd | egrep "callq\s+[0-9a-f]+\s+<__asan" -c) + local _asan_calls=$(objdump -dC $BUILD_DIR/systemd-journald | egrep "callq\s+[0-9a-f]+\s+<__asan" -c) if (( $_asan_calls < 1000 )); then return 1 else