test: add one missing assertion

This also makes sure the first signal doesn't "spill" over into the
second check.
This commit is contained in:
Frantisek Sumsal 2023-11-09 11:45:35 +01:00 committed by Luca Boccassi
parent fadc7d8cd7
commit a155ef7b65

View file

@ -267,7 +267,9 @@ EOF
busctl monitor --json=short --match="type=signal,sender=org.freedesktop.timedate1,member=PropertiesChanged,path=/org/freedesktop/timedate1"
: 'Disable NTP'
ts="$(date +"%F %T.%6N")"
timedatectl set-ntp false
assert_timedated_signal "$ts" "false"
assert_timesyncd_state "inactive"
assert_ntp "false"
assert_rc 3 systemctl is-active --quiet systemd-timesyncd