Add a description if iscsi-test to the README file

This commit is contained in:
Ronnie Sahlberg
2011-04-16 16:54:19 +10:00
parent 51ef550414
commit 26ad3da518

21
README
View File

@@ -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