Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rogge <andreas.rogge@bareos.com>2022-10-11 10:47:35 +0300
committerAndreas Rogge <andreas.rogge@bareos.com>2022-11-07 19:38:59 +0300
commitaec10e8afc6f8f1be5c81351fa0d72bdffdaa47f (patch)
tree088fcfecc34a6510855fed82b555c6579e211322
parentc50a1a24568c1036083cae572718d96f9ccd6a02 (diff)
systemtests: suppress python leaks in py23plug-dir
-rw-r--r--systemtests/tests/py2plug-dir/lsan-suppressions.txt1
-rwxr-xr-xsystemtests/tests/py2plug-dir/testrunner3
2 files changed, 4 insertions, 0 deletions
diff --git a/systemtests/tests/py2plug-dir/lsan-suppressions.txt b/systemtests/tests/py2plug-dir/lsan-suppressions.txt
new file mode 100644
index 000000000..a58a0cab0
--- /dev/null
+++ b/systemtests/tests/py2plug-dir/lsan-suppressions.txt
@@ -0,0 +1 @@
+leak:libpython*
diff --git a/systemtests/tests/py2plug-dir/testrunner b/systemtests/tests/py2plug-dir/testrunner
index 323a5fe06..e0f985950 100755
--- a/systemtests/tests/py2plug-dir/testrunner
+++ b/systemtests/tests/py2plug-dir/testrunner
@@ -19,6 +19,9 @@ export TestName
#shellcheck source=../environment.in
. ./environment
+LSAN_OPTIONS=suppressions="$(pwd)/lsan-suppressions.txt"
+export LSAN_OPTIONS
+
#shellcheck source=../scripts/functions
. "${rscripts}"/functions
"${rscripts}"/cleanup