Module Name: src Committed By: martin Date: Thu Aug 8 06:54:25 UTC 2024
Modified Files: src/tests/net/if_tap [netbsd-10]: t_tap.sh Log Message: Pull up following revision(s) (requested by rin in ticket #780): tests/net/if_tap/t_tap.sh: revision 1.12 t_tap: Fix previous to make `tap_bridged` functional again We need to ping to IP[46]_TAP from REMOTE, not LOCAL (== server). Otherwise, this does not make sense as a test for tap-bridge interaction. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.11.6.1 src/tests/net/if_tap/t_tap.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/net/if_tap/t_tap.sh diff -u src/tests/net/if_tap/t_tap.sh:1.11 src/tests/net/if_tap/t_tap.sh:1.11.6.1 --- src/tests/net/if_tap/t_tap.sh:1.11 Wed Sep 30 14:43:15 2020 +++ src/tests/net/if_tap/t_tap.sh Thu Aug 8 06:54:25 2024 @@ -1,4 +1,4 @@ -# $NetBSD: t_tap.sh,v 1.11 2020/09/30 14:43:15 roy Exp $ +# $NetBSD: t_tap.sh,v 1.11.6.1 2024/08/08 06:54:25 martin Exp $ # # Copyright (c) 2016 Internet Initiative Japan Inc. # All rights reserved. @@ -179,7 +179,7 @@ tap_bridged_body() atf_check -s exit:0 rump.ifconfig -w 10 # Now we can ping the tap address - export RUMP_SERVER=${SOCK_LOCAL} + export RUMP_SERVER=${SOCK_REMOTE} atf_check -s exit:0 -o ignore rump.ping -n -w $TIMEOUT -c 1 $IP4_TAP atf_check -s exit:0 -o ignore rump.ping6 -n -X $TIMEOUT -c 1 $IP6_TAP