Commit Graph

9 Commits

Author SHA1 Message Date
Jakob van Kruijssen
81a7610155 Fix CHAP challange not being fully read and hashed. 2016-03-30 19:21:12 -07:00
Ronnie Sahlberg
99a5f99527 Add some emacs defaults. Tabs are 8 spaces.
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2016-02-18 21:34:43 -08:00
Ronnie Sahlberg
da4496a232 Add create/remove lun helpers to the test suite
Add better helpers to allow creating multiple LUNs for the tests and to
set the size of the luns.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2016-02-18 21:33:33 -08:00
Ronnie Sahlberg
0630aa5ef0 Timeouts: Fix bugs in scsi task timeout code
Add a test to verify the pdu timeout handling.
Fix numerous bugs in the timeout handling. It was really broken.

Add test for non-SCSI task PDUs too and verify they works.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2015-05-24 14:34:06 -07:00
Ronnie Sahlberg
e0f1d58141 Add a README for the make test directiory
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2015-05-10 08:14:42 -07:00
Ronnie Sahlberg
d790209a8a TESTS: use TGTPORTAL instead of a hardcoded port
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2015-05-09 15:47:15 -07:00
Ronnie Sahlberg
86ce6a0ccd TESTS: tgtd now had TGT_IPC_SOCKET so lets use it
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2015-05-09 15:39:45 -07:00
Ronnie Sahlberg
e978232447 Add a test that we reply to NOPs from the target
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2015-04-16 08:21:48 -07:00
Ronnie Sahlberg
e8a2296f94 Initial test branch for adding tests to libiscsi
These tests depends on not yet released version on TGTD to allow running
both TGTD and TGTADM as unprivileged users to set up and configure
targets to test against during make test.
Update TGTD to tip of master before running these tests.

See STGT mailinglist for patches.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2015-04-13 14:58:30 -07:00