Skip to content

automated/linux/timesyncd/timesyncd

Description

The test checks whether the systemd-timesyncd is running and uses NTP. It should only be used when it's expected to use NTP. As an additional check the test will contact default NTP server to check whether the time is synced properly.

Maintainer

  • milosz.wasilewski@foundries.io

OS

  • debian
  • ubuntu
  • fedora
  • centos

Scope

  • functional

Devices

  • hi6220-hikey
  • apq8016-sbc
  • imx8mmevk
  • imx6ullevk

Steps to reproduce

  • cd ./automated/linux/timesyncd/
  • ./timesynctest.sh -n "${NTP_SERVER}" -s "${SKIP_INSTALL}"
  • ../../utils/send-to-lava.sh ./output/result.txt