diff --git a/.gitlab/tests/cram/generic/acceleration-plan-components/070-time.t b/.gitlab/tests/cram/generic/acceleration-plan-components/070-time.t index ab0b147b80..fe6b4ccda7 100644 --- a/.gitlab/tests/cram/generic/acceleration-plan-components/070-time.t +++ b/.gitlab/tests/cram/generic/acceleration-plan-components/070-time.t @@ -115,8 +115,8 @@ Check that Status has expected Synchronized state: Check that CPE can provide NTP to LAN clients: - $ ntpdate -q 192.168.1.1 2>&1 | grep adjust - .* adjust time server .* (re) + $ ntpdate -q 192.168.1.1 2>&1 | grep -E ' [-+][0-9.]+ \+/- [0-9.]+' + .* [-+][0-9.]+ \+/- [0-9.]+ .* (re) Disable NTP server for LAN clients: @@ -127,7 +127,7 @@ Disable NTP server for LAN clients: Check that CPE can't provide NTP to LAN clients: - $ ntpdate -q 192.168.1.1 2>&1 | grep adjust + $ ntpdate -q 192.168.1.1 2>&1 | grep -E ' [-+][0-9.]+ \+/- [0-9.]+' [1] Enable NTP server for LAN clients: @@ -139,8 +139,8 @@ Enable NTP server for LAN clients: Check that CPE provides again NTP to the LAN clients: - $ ntpdate -q 192.168.1.1 2>&1 | grep adjust - .* adjust time server .* (re) + $ ntpdate -q 192.168.1.1 2>&1 | grep -E ' [-+][0-9.]+ \+/- [0-9.]+' + .* [-+][0-9.]+ \+/- [0-9.]+ .* (re) Check default timezone: