selftest: use SAMBA_DEPRECATED_SUPPRESS=1 for all tests
authorStefan Metzmacher <metze@samba.org>
Fri, 9 Jul 2021 12:12:39 +0000 (14:12 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 14 Jul 2021 21:57:11 +0000 (21:57 +0000)
The deprecation warnings are filling the logs and make it hard to
find/see real problems.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Jul 14 21:57:11 UTC 2021 on sn-devel-184

selftest/selftest.pl

index d0c025af6b3896232b852f7e2c9711537f38e3cb..9d4462323f5b76ceac8bbee47406d6f603facc24 100755 (executable)
@@ -271,6 +271,8 @@ unless (defined($ENV{VALGRIND})) {
 # make all our python scripts unbuffered
 $ENV{PYTHONUNBUFFERED} = 1;
 
+$ENV{SAMBA_DEPRECATED_SUPPRESS} = 1;
+
 # do not depend on the users setup
 # see also bootstrap/config.py
 $ENV{TZ} = "UTC";