]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tests: double DefaultTimeoutStartSec when systemd is run under ASan+UBSan
authorEvgeny Vereshchagin <evvers@ya.ru>
Tue, 25 Dec 2018 05:13:45 +0000 (06:13 +0100)
committerEvgeny Vereshchagin <evvers@ya.ru>
Sat, 29 Dec 2018 18:14:35 +0000 (19:14 +0100)
test/test-functions

index bda62e9f7f016a7614c5639512ded531dab53cf7..467dbbd8e94f2ee2fc0f6dd0a16dd68945938baa 100644 (file)
@@ -344,6 +344,7 @@ if [[ "\$PATH_TO_ASAN" ]]; then
   DEFAULT_ENVIRONMENT="\$DEFAULT_ENVIRONMENT LD_PRELOAD=\$PATH_TO_ASAN"
 fi
 echo DefaultEnvironment=\$DEFAULT_ENVIRONMENT >>/etc/systemd/system.conf
+echo DefaultTimeoutStartSec=180s >>/etc/systemd/system.conf
 
 # ASAN and syscall filters aren't compatible with each other.
 find / -name '*.service' -type f | xargs sed -i 's/^\\(MemoryDeny\\|SystemCall\\)/#\\1/'