From 48cc072c069b8740f6f5fa48d1eee26a4d8fbbe0 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 22 May 2025 12:55:20 +0200 Subject: [PATCH] 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. --- test/simulation/139-nts | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.47.2