]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
ci: get around https://github.com/lxc/lxc/issues/3788
authorEvgeny Vereshchagin <evvers@ya.ru>
Mon, 12 Apr 2021 17:36:50 +0000 (17:36 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Mon, 12 Apr 2021 23:20:38 +0000 (23:20 +0000)
Signed-off-by: Evgeny Vereshchagin <evvers@ya.ru>
.github/workflows/sanitizers.sh

index 706fe25f94b5a9aa469287e3dadb149f33d9ffb1..59e8a33886e57d27383b20f91740a9ab62a3d414 100755 (executable)
@@ -40,6 +40,14 @@ cat <<'EOF' >/usr/bin/lxc-test-share-ns
 printf "The test is skipped due to https://github.com/lxc/lxc/issues/3798.\n"
 EOF
 
+mv /usr/bin/{lxc-test-concurrent,test-concurrent.orig}
+cat <<EOF >/usr/bin/lxc-test-concurrent
+#!/bin/bash
+printf "Memory leaks are ignored due to https://github.com/lxc/lxc/issues/3788.\n"
+ASAN_OPTIONS=$ASAN_OPTIONS:detect_leaks=0 UBSAN_OPTIONS=$UBSAN_OPTIONS /usr/bin/test-concurrent.orig
+EOF
+chmod +x /usr/bin/lxc-test-concurrent
+
 sed -i 's/USE_LXC_BRIDGE="false"/USE_LXC_BRIDGE="true"/' /etc/default/lxc
 systemctl daemon-reload
 systemctl restart apparmor