Module Name:    src
Committed By:   martin
Date:           Mon Sep  9 17:01:35 UTC 2024

Modified Files:
        src/tests/net/arp [netbsd-9]: t_arp.sh

Log Message:
Backout pullup of

        tests/net/arp/t_arp.sh                          1.46

for ticket #1883, this part is not suitable for this branch.
Requested by ozaki-r.


To generate a diff of this commit:
cvs rdiff -u -r1.37.2.2 -r1.37.2.3 src/tests/net/arp/t_arp.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/arp/t_arp.sh
diff -u src/tests/net/arp/t_arp.sh:1.37.2.2 src/tests/net/arp/t_arp.sh:1.37.2.3
--- src/tests/net/arp/t_arp.sh:1.37.2.2	Sat Aug 24 16:46:35 2024
+++ src/tests/net/arp/t_arp.sh	Mon Sep  9 17:01:35 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: t_arp.sh,v 1.37.2.2 2024/08/24 16:46:35 martin Exp $
+#	$NetBSD: t_arp.sh,v 1.37.2.3 2024/09/09 17:01:35 martin Exp $
 #
 # Copyright (c) 2015 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -386,35 +386,6 @@ test_garp_common()
 		atf_check -s exit:0 -o not-match:"$pkt" cat ./out
 	fi
 
-	#
-	# GARP on Link up
-	#
-	atf_check -s exit:0 rump.ifconfig shmif0 media none
-	extract_new_packets bus1 > ./out
-	atf_check -s exit:0 rump.ifconfig shmif0 media auto
-
-	atf_check -s exit:0 sleep 1
-	extract_new_packets bus1 > ./out
-
-	if $no_dad; then
-		# A GARP packet is sent for both primary and alias addresses.
-		pkt=$(make_pkt_str_arpreq 10.0.0.3 10.0.0.3)
-		atf_check -s exit:0 -o match:"$pkt" cat ./out
-		pkt=$(make_pkt_str_arpreq 10.0.0.4 10.0.0.4)
-		atf_check -s exit:0 -o match:"$pkt" cat ./out
-	else
-		# No GARP is sent.
-		pkt=$(make_pkt_str_arpreq 10.0.0.3 10.0.0.3)
-		atf_check -s exit:0 -o not-match:"$pkt" cat ./out
-		pkt=$(make_pkt_str_arpreq 10.0.0.4 10.0.0.4)
-		atf_check -s exit:0 -o not-match:"$pkt" cat ./out
-		# DAD packets are sent instead.
-		pkt=$(make_pkt_str_arpreq 10.0.0.3 0.0.0.0)
-		atf_check -s exit:0 -o match:"$pkt" cat ./out
-		pkt=$(make_pkt_str_arpreq 10.0.0.4 0.0.0.0)
-		atf_check -s exit:0 -o match:"$pkt" cat ./out
-	fi
-
 	rump_server_destroy_ifaces
 }
 

Reply via email to