From 20ef4b5687a1ded71bfba5ec7a3bbe180d951015 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Mon, 11 May 2015 06:25:29 -0700 Subject: [PATCH] README: Update the README with more unit test documentation Signed-off-by: Ronnie Sahlberg --- README | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README b/README index 9fe9003..758dcd0 100644 --- a/README +++ b/README @@ -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 +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 ============== There is a small LD_PRELOAD hack in the src directory that intercepts a handful