chrony/test/simulation/111-knownclient
Miroslav Lichvar 727bf195d1 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.
2014-03-25 17:33:55 +01:00

19 lines
374 B
Bash
Executable file

#!/bin/bash
. test.common
test_start "reply to client configured as server"
server_conf="server 192.168.123.2
acquisitionport 123"
client_conf="acquisitionport 123"
log_packets=1
run_test || test_fail
check_chronyd_exit || test_fail
check_source_selection || test_fail
check_packet_interval || test_fail
check_packet_port || test_fail
check_sync || test_fail
test_pass