From 1629a2c7fc1405556c242d814a6483593756f5f7 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Wed, 26 Mar 2014 19:13:12 -0700 Subject: [PATCH] DOCS: Update the manpage that --test now accepts a filename to read the list of tests from --- doc/iscsi-test-cu.1 | 6 +++++- doc/iscsi-test-cu.xml | 7 ++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/doc/iscsi-test-cu.1 b/doc/iscsi-test-cu.1 index 9561471..815b30d 100644 --- a/doc/iscsi-test-cu.1 +++ b/doc/iscsi-test-cu.1 @@ -105,7 +105,7 @@ ALL\&.GetLBAStatus\&.BeyondEol .PP \-t \-\-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 \{\ diff --git a/doc/iscsi-test-cu.xml b/doc/iscsi-test-cu.xml index 51d0078..d2c5bd9 100644 --- a/doc/iscsi-test-cu.xml +++ b/doc/iscsi-test-cu.xml @@ -131,7 +131,8 @@ ALL.GetLBAStatus.BeyondEol 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. 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