mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 17:55:07 -05:00
test: update for latest clknetsim
Latest clknetsim now allows source and destination port numbers to differ. This fixes the tests to work with the recent changes that added client NTP sockets.
This commit is contained in:
@@ -7,10 +7,7 @@ freq_offset=0.0
|
||||
wander=0.0
|
||||
limit=100
|
||||
|
||||
# clknetsim requires source port (if bound) to match dest port
|
||||
client_server_options="port 124"
|
||||
client_conf="initstepslew 5 192.168.123.1
|
||||
port 124"
|
||||
client_conf="initstepslew 5 192.168.123.1"
|
||||
|
||||
min_sync_time=15
|
||||
max_sync_time=30
|
||||
|
||||
@@ -4,7 +4,9 @@
|
||||
|
||||
test_start "reply to client configured as server"
|
||||
|
||||
server_conf="server 192.168.123.2"
|
||||
server_conf="server 192.168.123.2
|
||||
acquisitionport 123"
|
||||
client_conf="acquisitionport 123"
|
||||
log_packets=1
|
||||
|
||||
run_test || test_fail
|
||||
|
||||
@@ -18,7 +18,7 @@ export PATH=../../:$PATH
|
||||
export CLKNETSIM_PATH=clknetsim
|
||||
|
||||
# Known working clknetsim revision
|
||||
clknetsim_revision=eb0b85335c40027ac941b2276142542fff482107
|
||||
clknetsim_revision=c25faaf0a08e33e281bf33b209f4e295624b28b2
|
||||
clknetsim_url=https://github.com/mlichvar/clknetsim/archive/$clknetsim_revision.tar.gz
|
||||
|
||||
# Only Linux is supported
|
||||
|
||||
Reference in New Issue
Block a user