Commit Graph

17 Commits

Author SHA1 Message Date
Ronnie Sahlberg
383e6572d4 Use srcdir to find the includes for the build
From Yuri Stotski <Yuri.Stotski@dell.com>
We need to include files relative to srcdir or else they can not be found
when building from a different directory.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2017-02-17 21:41:26 -08:00
Ronnie Sahlberg
20f52ea756 Add test that ipv6 works
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2017-01-08 13:12:16 -08:00
Ronnie Sahlberg
b7ab5d05f1 TEST: Add a test to verify that HeaderDigest works
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2017-01-04 18:47:18 -08:00
Ronnie Sahlberg
8000a14d55 Add a test that a (future) single call to iscsi_service() will process all queued PDUs
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2016-12-12 17:47:17 -08:00
Vicente Olivert Riera
f27bdf64f0 Do not use -I/usr/include. This is considered unsafe when cross-compiling
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
2016-10-16 10:53:13 +01:00
Ronnie Sahlberg
8ef4dc8f3a Add tests for sending/receiving each opcode end-to-end using iscsi-test-cu
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2016-10-09 14:38:33 -07:00
Ronnie Sahlberg
714bad2153 TEST: add test for read/write using iovectors
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2016-10-01 16:31:13 -07:00
Roy Shterman
a628264ef0 Libiscsi: iSER implementation
This commit includes all iSER implementation in libscsi
library and utilities.

Also, adding iser option in url.

Change-Id: I55ca8a9d4db802e72eb991061260dbb0bd0ef9ba
Signed-off-by: Roy Shterman <roysh@mellanox.com>
2016-06-03 18:59:01 -07:00
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