From owner-cvs-src@FreeBSD.ORG Mon Sep 19 02:59:09 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC9A116A41F; Mon, 19 Sep 2005 02:59:09 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E5F743D45; Mon, 19 Sep 2005 02:59:09 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j8J2x9sL094645; Mon, 19 Sep 2005 02:59:09 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j8J2x9Cs094644; Mon, 19 Sep 2005 02:59:09 GMT (envelope-from marcel) Message-Id: <200509190259.j8J2x9Cs094644@repoman.freebsd.org> From: Marcel Moolenaar Date: Mon, 19 Sep 2005 02:59:09 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/tools/regression/geom_gpt gctl.t test.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2005 02:59:09 -0000 marcel 2005-09-19 02:59:09 UTC FreeBSD src repository Added files: tools/regression/geom_gpt gctl.t test.c Log: Add the beginnings of a testsuite for testing GPT control requests. The testsuite is based on a simple driver program that builds a request from the arguments passed to it and issues the request to Geom. The driver emits FAIL with the error string or PASS depending on whether the request completed with an error or not. A -v option has been added to the driver and causes the request to be dumped. The -v option to prove(1) controls the -v option to the driver. The testsuite itself contains a hash of which the key constitutes the arguments and the value is the expected result. Revision Changes Path 1.1 +86 -0 src/tools/regression/geom_gpt/gctl.t (new) 1.1 +137 -0 src/tools/regression/geom_gpt/test.c (new)