mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:55:07 -05:00
test: fix IPv6 test in 139-nts
Make sure an IPv6 address is actually used and don't forget to remove the measurements log to not interfere with the subsequent test.
This commit is contained in:
@@ -64,8 +64,11 @@ if check_config_h 'FEAT_IPV6 1'; then
|
||||
check_source_selection || test_fail
|
||||
check_sync || test_fail
|
||||
|
||||
check_file_messages "20.*:123:1.* 111 111 1111" 75 80 measurements.log || test_fail
|
||||
check_file_messages "20.*:123:1.* 111 001 0000" 37 39 measurements.log || test_fail
|
||||
check_file_messages " 2 1 .* 4460 " 260 300 log.packets || test_fail
|
||||
check_file_messages "." 6 6 ntskeys || test_fail
|
||||
rm -f tmp/measurements.log
|
||||
|
||||
ip_family=$default_ip_family
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user