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