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 .PP
\-t \-\-test=<family>|*[\&.<suite>|*[\&.<test>|*]] \-t \-\-test=<family>|*[\&.<suite>|*[\&.<test>|*]]
.RS 4 .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 .sp
.if n \{\ .if n \{\
.RS 4 .RS 4
@@ -126,6 +126,10 @@ Run all tests in the TestUnitReady suite and also the Reaqd16\&.Flags test
iscsi\-test\-cu \-\-test=SCSI\&.TestUnitReady\&.*,SCSI\&.Read16\&.Flags \e iscsi\-test\-cu \-\-test=SCSI\&.TestUnitReady\&.*,SCSI\&.Read16\&.Flags \e
iscsi://192\&.0\&.2\&.1/iqn\&.ronnie/test/1 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 .fi
.if n \{\ .if n \{\
.RE .RE

View File

@@ -131,7 +131,8 @@ ALL.GetLBAStatus.BeyondEol
<para> <para>
This argument specifies a comma-separated list of the test This argument specifies a comma-separated list of the test
expressions to run. If this argument is omitted then all tests 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"> <screen format="linespecific">
To run all tests: To run all tests:
iscsi-test-cu --test=ALL iscsi://192.0.2.1/iqn.ronnie/test/1 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 Run all tests in the TestUnitReady suite and also the Reaqd16.Flags test
iscsi-test-cu --test=SCSI.TestUnitReady.*,SCSI.Read16.Flags \ 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 iscsi://192.0.2.1/iqn.ronnie/test/1
</screen> </screen>
</para> </para>