Received: by mail.netbsd.org (Postfix, from userid 0) id 5AF9463B104; Tue, 10 Aug 2010 21:55:30 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id E807663B100 for ; Tue, 10 Aug 2010 21:55:28 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id CE0ED175DD; Tue, 10 Aug 2010 21:55:28 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain Date: Tue, 10 Aug 2010 21:55:28 +0000 From: Antti Kantee Subject: CVS commit: src/tests/net To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20100810215528.CE0ED175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: list Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: Antti Kantee Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: pooka Date: Tue Aug 10 21:55:28 UTC 2010 Modified Files: src/tests/net: Makefile Added Files: src/tests/net/carp: Makefile t_basic.c Log Message: Add a most elementary carp test: it forks off two processes, configures carp in each of them, and after verifying that the shared address responds to ping it brutally kills the master like a proper carnivore (none of that ifconfig down sissy vegan nonsense). Then the test checks if the backup got its act together by pinging the shared address and passes verdict. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/net/Makefile cvs rdiff -u -r0 -r1.1 src/tests/net/carp/Makefile \ src/tests/net/carp/t_basic.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.