Received: by mail.netbsd.org (Postfix, from userid 605) id 9667C855E5; Thu, 24 Nov 2016 08:52:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 24B17855E4 for ; Thu, 24 Nov 2016 08:52:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 8h5RvsDPoY-r for ; Thu, 24 Nov 2016 08:52:20 +0000 (UTC) Received: from cvs.NetBSD.org (unknown [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id B879D8556F for ; Thu, 24 Nov 2016 08:52:20 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id AEA79FBA6; Thu, 24 Nov 2016 08:52:20 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 24 Nov 2016 08:52:20 +0000 From: "Ryota Ozaki" Subject: CVS commit: src/tests/net To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20161124085220.AEA79FBA6@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Ryota Ozaki" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: ozaki-r Date: Thu Nov 24 08:52:20 UTC 2016 Modified Files: src/tests/net/arp: Makefile t_arp.sh t_dad.sh src/tests/net/ndp: Makefile t_dad.sh t_ndp.sh src/tests/net/net: Makefile t_mtudisc.sh t_mtudisc6.sh t_ping6_opts.sh Added Files: src/tests/net: net_common.sh Log Message: Reduce duplicate codes Introduce net_common.sh that is to share common functions used in tests for networking. This commit commonizes extract_new_packets. Other duplicate codes will be moved to the file in further commits. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/tests/net/net_common.sh cvs rdiff -u -r1.3 -r1.4 src/tests/net/arp/Makefile cvs rdiff -u -r1.18 -r1.19 src/tests/net/arp/t_arp.sh cvs rdiff -u -r1.9 -r1.10 src/tests/net/arp/t_dad.sh cvs rdiff -u -r1.2 -r1.3 src/tests/net/ndp/Makefile cvs rdiff -u -r1.9 -r1.10 src/tests/net/ndp/t_dad.sh cvs rdiff -u -r1.14 -r1.15 src/tests/net/ndp/t_ndp.sh cvs rdiff -u -r1.18 -r1.19 src/tests/net/net/Makefile cvs rdiff -u -r1.3 -r1.4 src/tests/net/net/t_mtudisc.sh cvs rdiff -u -r1.1 -r1.2 src/tests/net/net/t_mtudisc6.sh cvs rdiff -u -r1.4 -r1.5 src/tests/net/net/t_ping6_opts.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.