summaryrefslogtreecommitdiff
path: root/tools/regression/geom_gpt/test.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename gctl.t to gctl_test.t and test.c to gctl_test_helper.cEnji Cooper2017-04-221-165/+0
| | | | | | | | | | | This is being done to reduce ambiguity and to make the tests more portable in the future to other locations in the source tree. MFC after: 5 weeks Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=317291
* Fix -Wimplicit-function-declaration compilation warning by moving libgeom.hEnji Cooper2017-04-221-1/+1
| | | | | | | | | | | | | | #include below the stdio.h #include. gctl_dump(3) needs stdio.h, per reasoning noted in r317289. MFC after: 5 weeks PR: 218809 Submitted by: Chang-Hsien Tsai <luke.tw@gmail.com> Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=317290
* MFp4:Marcel Moolenaar2006-04-101-17/+81
| | | | | | | | | Add support for read-write parameters. Allow an optional initializer for read-write parameters. Print the value of those parameters on success following the PASS. Notes: svn path=/head/; revision=157621
* o Extend the suite to run more than just the driver. We need to runMarcel Moolenaar2005-09-191-44/+8
| | | | | | | | | mdconfig(8), because we need a disk to work on. o Extend the number of tests now that we have a disk. o Simplify the driver. All parameters are ASCII strings now. Notes: svn path=/head/; revision=150308
* Add the beginnings of a testsuite for testing GPT control requests.Marcel Moolenaar2005-09-191-0/+137
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. Notes: svn path=/head/; revision=150305