README: Update the README with more unit test documentation
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
@@ -222,6 +222,16 @@ devices. Accessing SG_IO devices often require that you are root:
|
|||||||
sudo iscsi-test-cu --test LINUX.Read10.Simple /dev/sg1
|
sudo iscsi-test-cu --test LINUX.Read10.Simple /dev/sg1
|
||||||
|
|
||||||
|
|
||||||
|
Unit Tests
|
||||||
|
----------
|
||||||
|
The tests directory contains test scripts and programs to verify the
|
||||||
|
functionality of libiscsi itself. These tests require that you have STGT
|
||||||
|
version 1.0.58 or later installed to use as a taget to test against.
|
||||||
|
To run the tests:
|
||||||
|
cd tests
|
||||||
|
make test
|
||||||
|
|
||||||
|
|
||||||
LD_PRELOAD FUN
|
LD_PRELOAD FUN
|
||||||
==============
|
==============
|
||||||
There is a small LD_PRELOAD hack in the src directory that intercepts a handful
|
There is a small LD_PRELOAD hack in the src directory that intercepts a handful
|
||||||
|
|||||||
Reference in New Issue
Block a user