]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tests: use systemd-journald to check whether everything has been built with ASan
authorEvgeny Vereshchagin <evvers@ya.ru>
Sun, 23 Dec 2018 13:12:20 +0000 (14:12 +0100)
committerEvgeny Vereshchagin <evvers@ya.ru>
Mon, 24 Dec 2018 07:52:33 +0000 (08:52 +0100)
test/test-functions

index 37069396b7e019f046be67d3e4003e4c9a664e63..169ecdbf137de5af621687de0da4952b6c8a3dad 100644 (file)
@@ -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