mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
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:
parent
fadc7d8cd7
commit
a155ef7b65
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue