Ronnie Sahlberg
d5d062a494
TESTS: For the invalid tests, treat the target dropping the session as OK
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2012-08-01 16:38:30 +10:00
Ronnie Sahlberg
77d8e41be7
TESTS: Add a mechanism to temporarily disable the session reconnect
...
Some tests may cause a target to drop the session.
For these tests we DO want the test tool to detect that the command
failed and later reconnect the session again when we proceed to the next subtest
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2012-08-01 16:32:40 +10:00
Ronnie Sahlberg
fbc4f3584b
TEST: Add initial test for "test that all mandatory SBC commands are there"
...
Some tests are just stubs since we underlying vommands have not been
implemented in libiscsi yet.
2012-07-22 08:52:25 +10:00
Ronnie Sahlberg
458c342839
typo
2012-07-22 07:37:04 +10:00
Ronnie Sahlberg
94cd6bf3b1
TEST: Add test that PREVENTs on different IT_Nexuses do not interfere
2012-07-21 15:04:53 +10:00
Ronnie Sahlberg
af9d3eab79
fix a typo
2012-07-21 12:27:51 +10:00
Ronnie Sahlberg
d8ed7d4053
TESTS, After a target/lun reset, wait until the lun stabilizes before continuing the tests
2012-07-21 12:26:24 +10:00
Ronnie Sahlberg
9205a71135
fix typo in test, we try to reset the LUN, not the target
2012-07-21 12:09:59 +10:00
Ronnie Sahlberg
313d579464
TEST: Add a test that a LUN reset will clear PREVENTALLOW
2012-07-21 12:05:25 +10:00
Ronnie Sahlberg
ca046ab342
TEST: add a test that a Cold Reset will clear PREVENTALLOW
2012-07-21 11:59:34 +10:00
Ronnie Sahlberg
7d0393452c
TEST: Add a test that PREVENTALLOW is cleared byb a warm reset
2012-07-21 11:53:26 +10:00
Ronnie Sahlberg
44bf8a5a3a
TEST: Add a test that a I_T_Nexus loss clears the PREVENTALLOW on that nexus
2012-07-21 11:17:09 +10:00
Ronnie Sahlberg
5953607743
TEST: add test that we can not eject media when PREVENTALLOW is set on the I_T_nexus
2012-07-21 10:43:33 +10:00
Ronnie Sahlberg
5cf3ccca75
TEST: Add simple test for PREVENTYALLLOWMEDIUMREMOVAL
2012-07-21 10:04:37 +10:00
Ronnie Sahlberg
b8e08a355d
TESTS: Add test for all media access commands that they fail correctly on ejected media
2012-07-18 08:03:29 +10:00
Ronnie Sahlberg
4a3935770d
TEST Add test for powercondition and eject
2012-07-16 21:43:27 +10:00
Ronnie Sahlberg
db68e68f6d
TEST: add simple test for STARTSTOPUNIT
2012-07-16 21:06:52 +10:00
Ronnie Sahlberg
1f40de8858
compiler warnings
2012-07-15 08:13:40 +10:00
Ronnie Sahlberg
e6ca1451b0
TEST add test for wrprotect field in ORWRITE
2012-07-14 18:38:48 +10:00
Ronnie Sahlberg
6bbbff64fd
Add some missing free calls
2012-07-14 18:10:04 +10:00
Ronnie Sahlberg
67f4ceca6b
Add COMPAREANDWRITE and ORWRITE to the readonly tests
2012-07-14 17:55:10 +10:00
Ronnie Sahlberg
030cb9134a
Add lba-out-of-range tests for ORWRITE
2012-07-14 17:45:43 +10:00
Ronnie Sahlberg
1a7a92024e
Fix typo in orwrite test
2012-07-14 17:30:57 +10:00
Ronnie Sahlberg
1ce5d97e57
TEST: Add test for ORWRITE command
2012-07-14 17:29:58 +10:00
Ronnie Sahlberg
bee944c3cc
update log message
2012-07-14 13:17:13 +10:00
Ronnie Sahlberg
b5a6f7c3cb
Bugfixes for the compare and write tests
2012-07-14 13:15:45 +10:00
Ronnie Sahlberg
17e3355dc2
TEST: Add tests for COMPAREANDWRITE
2012-07-14 13:06:24 +10:00
Ronnie Sahlberg
f6705d4691
TESTS: Add tests for writing beyond the end of the LUN for WRITEVERIFY10/12/16
2012-07-14 10:54:15 +10:00
Ronnie Sahlberg
477ee0f6f6
TEST: Add wrprotect tests for WRITEVERIFY10/12/16
2012-07-14 08:54:00 +10:00
Ronnie Sahlberg
df30827992
Add simple tests for WRITEVERIFY10/12/16
2012-07-14 08:41:04 +10:00
Ronnie Sahlberg
bae5ce4c14
TESTS: Add test that WRITEVERIFY* fails if the device is write-protected
2012-07-14 08:24:19 +10:00
Ronnie Sahlberg
eaff5a4e4e
TESTS: Add a test that write/unmap fails on read-only devices
2012-07-13 10:04:42 +10:00
Ronnie Sahlberg
c379a3eb27
TESTS: improve the output for some failures
2012-07-11 14:16:55 +10:00
Ronnie Sahlberg
a684094fbd
TEST: exit code is number of failed tests
...
exit code == 0 means all tests were successful
2012-07-11 13:07:24 +10:00
Ronnie Sahlberg
5dc8c7739f
Update usage page for the test tool
2012-07-10 19:25:26 +10:00
Ronnie Sahlberg
e5e4817331
TEST: Add --info to the help page for the test tool
2012-07-10 17:30:43 +10:00
Ronnie Sahlberg
f2a5ccb4f5
TEST: Allow --info to work when --list is used
...
iscsi-test --list --info
thus lists both all the major tests as well as all sub-tests
2012-07-10 17:27:24 +10:00
Ronnie Sahlberg
fbd6a9a960
Fix incorrect prontout on test failure. Wrong sense printed
2012-07-10 16:29:34 +10:00
Ronnie Sahlberg
ecbff226b8
Improve tests for READ10/READ12/READ16
2012-06-24 07:55:49 +10:00
Ronnie Sahlberg
27ea207fd4
Improve WRITE10/12/16 tests
2012-06-24 07:43:28 +10:00
Ronnie Sahlberg
7e0e732128
Add tests for writing 0 blocks with WRITESAME10/16
2012-06-24 07:30:03 +10:00
Ronnie Sahlberg
e7c8a173ab
Add tests for the WRPROTECT bits for WRITESAME10/16
2012-06-23 21:40:58 +10:00
Ronnie Sahlberg
124b71bd80
READ10 tests. Add tests fopr lba 2^31 an lba -1
2012-06-23 21:25:39 +10:00
Ronnie Sahlberg
14a70127ce
Add tests for WRITESAME10/16 for writing beyond the end of the device
2012-06-23 21:18:38 +10:00
Ronnie Sahlberg
04b5fc86d2
WRITE_SAME16 Tests update
...
Update the tests for write same 16 unmap to cover more cases
2012-06-17 21:32:56 +10:00
Ronnie Sahlberg
620ba234c3
WRITESAME10 UNMAP Tests updates
...
Make the WS10 tests more accurate for unmap operations and check for proper sense for invalid conditions, like unmap=0 and anchor=1
2012-06-17 21:27:22 +10:00
Ronnie Sahlberg
1d3e910769
TESTS: Add tests for WRITE10
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2012-06-05 19:36:25 +10:00
Ronnie Sahlberg
d5f646099d
READ10/WRITE10: Change these functions to sue the same signatures as the other READ/WRITE
...
Harmonize the signatures for READ10/WRITE10 to match the ones for READ12/16 and WRITE12/16
This breaks the API/ABI so this forces the next version of the library to bump the major version to 2.0
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2012-06-05 19:20:02 +10:00
Ronnie Sahlberg
5ccf2f4d87
Add tests for verify10/16 for lba out of range
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2012-06-04 20:45:59 +10:00
Ronnie Sahlberg
9130d2eb45
Add support for VERIFY12 and tests
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2012-06-04 20:35:15 +10:00