Ronnie Sahlberg
45d87238e2
TESTS: Flag a whole bunch of tests as not supported on non-iSCSI backends
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2014-09-27 08:58:24 -07:00
Ronnie Sahlberg
072291c852
TESTS: change the function signatures for the helpers
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2014-09-18 18:19:04 -07:00
Ronnie Sahlberg
9b768f7de9
TESTS: move the default url, lun and iscsi context into a structure
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2014-09-18 16:42:45 -07:00
Ronnie Sahlberg
832d88797a
TESTS: remove the read10_task helper
...
Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
2014-09-18 14:07:22 -07:00
Ronnie Sahlberg
28b0a0ab11
TESTS: update the READ tests to the new API
...
Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
2014-09-18 13:12:58 -07:00
Ronnie Sahlberg
8ffd78c117
temp: redo the write10/12/16 commands to the new saner api
...
Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
2014-09-18 12:07:57 -07:00
Bart Van Assche
cfce944b35
test_write*_residuals: Fix overflow tests
...
RFC 3720 is not clear about whether a target should return SUCCESS
or CHECK CONDITION if SPDTL > EDTL. Hence accept both. See also
Fred Knight, Re: [Ips] Data Out residual overflow/underflow handling,
IETF mailing list archive, 21 September 2012
(http://www.ietf.org/mail-archive/web/ips/current/msg02756.html ).
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
2014-08-04 16:04:21 -07:00
Michael Tokarev
120b308741
Spelling fixes: Dont => Don't
...
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru >
2013-12-16 18:19:24 -08:00
Ronnie Sahlberg
1165e06d19
Fix a bunch of typos
2013-04-29 21:02:40 -07:00
Ronnie Sahlberg
b5804ee499
TESTS: Update WRITE10/12 to allow it to fail with invalid operation code. Both these opcodes are Optional in all SBC standards.
2013-04-23 21:29:25 -07:00
Ronnie Sahlberg
641cc997c1
TESTS: Improve WRITE* residual tests and also check that we dont write too much if iSCSI EDTL < SCSI TL
2013-03-24 09:10:01 -07:00
Ronnie Sahlberg
e1f15c8464
TESTS: Add tests that WRITE10/12/16 handle residuals correctly
...
Also test that IF the iSCSI layer provides 2 blocks of DATA-OUT but
the SCSI WRITE* command only covers one single block,
then only the first block will be modified but not the second block.
2013-03-24 08:56:23 -07:00