DOCS: Update the manpage that --test now accepts a filename to read the list of tests from

This commit is contained in:
Ronnie Sahlberg
2014-03-26 19:13:12 -07:00
parent 91156cffe9
commit 1629a2c7fc
2 changed files with 11 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ ALL\&.GetLBAStatus\&.BeyondEol
.PP
\-t \-\-test=<family>|*[\&.<suite>|*[\&.<test>|*]]
.RS 4
This argument specifies a comma\-separated list of the test expressions to run\&. If this argument is omitted then all tests will be executed\&.
This argument specifies a comma\-separated list of the test expressions to run\&. If this argument is omitted then all tests will be executed\&. You can also just specify a filename from which to read the list of tests\&.
.sp
.if n \{\
.RS 4
@@ -125,6 +125,10 @@ iscsi\-test\-cu \-\-test=iSCSI\&.iSCSIResiduals\&.Read10Invalid \e
Run all tests in the TestUnitReady suite and also the Reaqd16\&.Flags test
iscsi\-test\-cu \-\-test=SCSI\&.TestUnitReady\&.*,SCSI\&.Read16\&.Flags \e
iscsi://192\&.0\&.2\&.1/iqn\&.ronnie/test/1
Run all tests listed in the file ~/tests\-to\-run
iscsi\-test\-cu \-\-test=~/tests\-to\-run
iscsi://192\&.0\&.2\&.1/iqn\&.ronnie/test/1
.fi
.if n \{\

View File

@@ -131,7 +131,8 @@ ALL.GetLBAStatus.BeyondEol
<para>
This argument specifies a comma-separated list of the test
expressions to run. If this argument is omitted then all tests
will be executed.
will be executed. You can also just specify a filename from which
to read the list of tests.
<screen format="linespecific">
To run all tests:
iscsi-test-cu --test=ALL iscsi://192.0.2.1/iqn.ronnie/test/1
@@ -146,6 +147,10 @@ iscsi-test-cu --test=iSCSI.iSCSIResiduals.Read10Invalid \
Run all tests in the TestUnitReady suite and also the Reaqd16.Flags test
iscsi-test-cu --test=SCSI.TestUnitReady.*,SCSI.Read16.Flags \
iscsi://192.0.2.1/iqn.ronnie/test/1
Run all tests listed in the file ~/tests-to-run
iscsi-test-cu --test=~/tests-to-run
iscsi://192.0.2.1/iqn.ronnie/test/1
</screen>
</para>