diff --git a/tests/test_ntp.py b/tests/test_ntp.py index f2663060732432740270f885715461901875ad0b..86991d271d60b26cb28a389559225b441bfb2028 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)?$'