From 26ad3da518f5588cea837d3ee12aa61c5dc29573 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sat, 16 Apr 2011 16:54:19 +1000 Subject: [PATCH] Add a description if iscsi-test to the README file --- README | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README b/README index 20cd5ab..ae25f41 100644 --- a/README +++ b/README @@ -81,6 +81,27 @@ Currently we have KVM/QEMU, SG3-UTILS and MTX. Patches for other packages would be welcome. +ISCSI-TEST +========== +The test-tool subdirectory contains a iscsi/scsi test tool. +This is a tool that is aimed at providing a comprehensive iscsi and scsi +emulation test suite. + +Run 'make iscsi-test' to compile it. +Run ./test-tool/iscsi-test --help and +Run ./test-tool/iscsi-test --list +for instructions + +Example: +$ ./test-tool/iscsi-test --initiator-name=iqn.ronnie.test --test=T0105_read10_invalid iscsi://127.0.0.1/iqn.ronnie.test/1 +========= +Running test T0105_read10_invalid +Read10 1 block but with iscsi ExpectedDataTransferLength==0 ... [FAILED] +Read10 of 1 block with iscsi ExpectedDataTransferLength==0 should fail. +TEST T0105_read10_invalid [FAILED] + + + LD_PRELOAD FUN ============== There is a small LD_PRELOAD hack in the src directory that intercepts a handful