From 114fc1e35313880a32a0e32e9a4e9c8505f39007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Diemer?= <stephane.diemer@ubicast.eu> Date: Tue, 24 Sep 2019 16:32:19 +0200 Subject: [PATCH] Use IPv4 for NTP test | refs #30014 --- tests/test_ntp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ntp.py b/tests/test_ntp.py index f2663060..86991d27 100755 --- a/tests/test_ntp.py +++ b/tests/test_ntp.py @@ -20,7 +20,7 @@ from envsetup import utils as u # noqa: E402 def main(): # Check that ntpd is synced if os.path.isfile('/usr/bin/ntpq'): - cmd = 'LANG=C ntpq -pd' + cmd = 'LANG=C ntpq -p -d -4' expected = 'remote' ntpconf = '/etc/ntp.conf' ntpconf_expected = r'^(?:server|pool)\s([a-zA-Z0-9\._-]+)(?:\s*iburst)?$' -- GitLab