From: Vincent Bernat Date: Sun, 26 Jan 2020 14:22:26 +0000 (+0100) Subject: tests: use "-Ln" to avoid logging with snmpd X-Git-Tag: 1.0.5~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cf6d726e905755f0a5792689896b51f34d66196c;p=thirdparty%2Flldpd.git tests: use "-Ln" to avoid logging with snmpd This is more efficient than using "-Lf /dev/null". It was a tentative to fix tests when running snmpd 5.8 but it seems to be related to parallel run. --- diff --git a/tests/integration/fixtures/programs.py b/tests/integration/fixtures/programs.py index 08e860b9..b1c2c04c 100644 --- a/tests/integration/fixtures/programs.py +++ b/tests/integration/fixtures/programs.py @@ -297,7 +297,7 @@ trap2sink 127.0.0.1 "snmp_mib,sysORTable" ",usmConf,usmStats,usmUser" ",vacm_conf,vacm_context,vacm_vars", - "-Lf", "/dev/null", + "-Ln", "-p", str(pidfile), "-C", "-c", str(conffile)) try: