From cf6d726e905755f0a5792689896b51f34d66196c Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 26 Jan 2020 15:22:26 +0100 Subject: [PATCH] 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. --- tests/integration/fixtures/programs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5