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:
-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