From: Miroslav Lichvar Date: Thu, 22 May 2025 10:55:20 +0000 (+0200) Subject: test: fix IPv6 test in 139-nts X-Git-Tag: 4.7~15 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=48cc072c069b8740f6f5fa48d1eee26a4d8fbbe0;p=thirdparty%2Fchrony.git 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. --- diff --git a/test/simulation/139-nts b/test/simulation/139-nts index 773f885a..5bb2f44f 100755 --- a/test/simulation/139-nts +++ b/test/simulation/139-nts @@ -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