cvs commit: src/tools/regression/geom_gpt gctl.t test.c
Marcel Moolenaar
marcel at FreeBSD.org
Sun Sep 18 19:59:09 PDT 2005
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)
More information about the cvs-src
mailing list