Ronnie Sahlberg
f8e317c355
TESTS: READ6 is optional(==obsolete)
2013-04-27 16:22:58 -07:00
Ronnie Sahlberg
94d048afae
TESTS: Persistent reserve in/out are optional
2013-04-27 14:09:19 -07:00
Ronnie Sahlberg
2627a8845e
TESTS: add a flag --usb so we can clamp all i/o to at most 120k
...
Add checks for maximum tranfer length to all commands that are limited
by BlockLimits/MTL
2013-04-27 09:59:59 -07:00
Ronnie Sahlberg
c866787dcb
TESTS: read12 is optional, should make test skip, not fail
2013-04-27 07:43:24 -07:00
Ronnie Sahlberg
1331656f85
TESTS: ORWRITE is optional, lack os support should skip the test not fail it
2013-04-26 17:52:55 -07:00
Ronnie Sahlberg
e33194d94a
TESTS: WRITEVERIFY10/12/16 are all optional.
...
Update the helpers to return -2/not supported on invalid operaction code.
Update all tests to accept that the opcode might be missing and abort the test without failing.
2013-04-25 17:41:13 -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
ee666ae451
TESTS: WRITE16 is optional so update the tests to allow WRITE16 to be missing and just make the test be [SKIPPED]
2013-04-23 21:15:28 -07:00
Ronnie Sahlberg
79f54c5e06
TESTS update all read16 tests to fail/skip on illegal opcode depending on whether the device claims support for it or not (mandatory in sbc-3, optional prior)
2013-04-22 17:31:50 -07:00
Ronnie Sahlberg
af6d1c9c13
Add a test for mandatory opcodes for SBC devices.
...
Note that Read16/Readcapacity16 are mandatory on SBC3 but not prior.
Not all mandatory opcodes are tested for yet.
2013-04-21 14:50:41 -07:00
Ronnie Sahlberg
ecfe404316
iscsi-support.c does not need popt.h
2013-04-21 10:03:34 -07:00
Ronnie Sahlberg
808eed9680
Make task->residual a size_t instead of an int
...
Update and improve the log messages for failures for the read10 invalid test
2013-03-23 11:23:02 -07:00
Lee Duncan
510883f28f
fix reregister to check for resvn conflict
...
According to SPC, an attempt to register on
a registeried I_T Nexus with the incorrect
reservation key should produce a reservation
conflict.
2013-03-22 17:57:51 -07:00
Lee Duncan
cfc83f0b4f
Reservation type not needed to register.
2013-03-22 17:56:59 -07:00
Ronnie Sahlberg
6c0fd5cfa3
TESTS: Add RESERVE6/RELEASE6 tests
2013-03-21 19:41:32 -07:00
Ronnie Sahlberg
ec70169380
TEST: Add test for the supported VPD pages and that we can read them
2013-03-12 18:41:57 -07:00
Ronnie Sahlberg
e84b71af15
TEST: Add test for EVPD bit for INQUIRY commands
2013-03-12 18:29:24 -07:00
Ronnie Sahlberg
0bc415761a
TESTS: Add test for standard inquiry page
2013-03-10 19:02:45 -07:00
Ronnie Sahlberg
d288d5a8b6
TESTS: Add tests for prevent/allow medium removal
2013-03-03 10:05:57 -08:00
Ronnie Sahlberg
a2fd736930
TESTS: Add tests for medium access commands when medium is ejected
2013-03-03 09:26:34 -08:00
Ronnie Sahlberg
44c789c9c8
TESTS: Add tests for STARTSTOPUNIT
2013-03-02 16:53:40 -08:00
Lee Duncan
8493ec5837
Added persistent reservation ownership tests.
...
Created tests for all persistent reservation types that
verifies reservation ownership based on reservation
type.
2013-02-24 08:19:30 -08:00
Ronnie Sahlberg
41754b45e8
TESTS: Add tests for ORWRITE
2013-02-19 19:30:51 -08:00
Ronnie Sahlberg
fc1b2697d4
TESTS: Add tests for WRITEVERIFY10/12/16
2013-02-18 20:16:41 -08:00
Ronnie Sahlberg
02010f9157
TESTS: Add tests that medium changing commands fail for readonly devices
2013-02-18 19:28:53 -08:00
Ronnie Sahlberg
5fe7eb573c
TESTS: Add beyond eol test for GET_LBA_STATUS
2013-02-18 18:11:05 -08:00
Lee Duncan
07bb4d04d2
ported group reservation access control test to CUnit
...
Ported group reservation access control test to CUnit format.
This is the final group reservation test to be ported.
2013-02-18 06:58:34 -08:00
Lee Duncan
9b436eee2f
ported 3 more group reservation tests to CUnit
...
Ported 3 more group reservation tests to new the CUnit format.
2013-02-18 06:58:04 -08:00
Lee Duncan
99ef5c6495
group reservation tests logging and cleanup
...
Converted group reservation functions to use loggin(), and
cleaned up those functions a little as well.
2013-02-18 06:57:36 -08:00
Lee Duncan
9d46353a62
Added dataloss checks for prout_* functions
...
Added "--data-loss" check for prout_*() functions.
2013-02-18 06:57:03 -08:00
Lee Duncan
40b0a842d1
Cleaned up prin_read_keys since task always passed in
...
Cleaned up prin_read_keys() to assume task is always
passed in, since that is the case.
2013-02-18 06:56:37 -08:00
Lee Duncan
4c8770a405
Renamed group reservation routines with prin_*/prout_*
...
Renamed group reservation helper functions with prin_* or prout_*,
making it more clear what they are doing.
2013-02-18 06:55:59 -08:00
Ronnie Sahlberg
d5f2e7120a
Fixup the get-lba-status tests
2013-02-13 18:21:13 -08:00
Lee Duncan
990af4a427
Added printf format checking to logging function.
...
This also required changing the logging of "" at the
start of each test to appeal the otherwise-friendly
compiler.
2013-02-13 18:04:51 -08:00
Ronnie Sahlberg
a1590cf30c
TEST: Add simple test for GET_LBA_STATUS
2013-02-09 14:12:28 -08:00
Lee Duncan
3f4bb80fd4
Converted first PGR test to new CUnit format
...
Here's the patch that really adds the new test ... plz let me know if I did this incorrectly.
---------------------------------------------------------------
parent 93fd84ab52bc56f889dbd7970345d205ce03f958 (1.7.0-238-g93fd84a)
commit c5aa45226d054389280b763ce5754c5fa647b05c
Author: Lee Duncan <lduncan@suse.de >
Date: Wed Feb 6 13:43:08 2013 -0800
Converted first PGR test to new CUnit format
2013-02-09 12:05:57 -08:00
Ronnie Sahlberg
8e85b87092
TESTS: Add tests for PREFETCH10/16 to the new test suite
2013-01-26 18:07:25 -08:00
Ronnie Sahlberg
0dbffe1a5d
TESTS Add tests for WRITESAME16 to the new testsuite
2013-01-26 09:18:39 -08:00
Ronnie Sahlberg
f8298d013c
TESTS: Add WRITESAME10 tests to the new testsuite
2013-01-26 09:05:02 -08:00
Ronnie Sahlberg
2535eaed47
TEST add simple UNMAP test
2013-01-21 19:38:51 -08:00
Ronnie Sahlberg
d7be22fa2f
TESTS: add READCAPACITY16 tests
2013-01-21 17:13:48 -08:00
Ronnie Sahlberg
ab3dfae005
TESTS add tests for VERIFY10 and VERIFY12
2013-01-21 14:50:40 -08:00
Ronnie Sahlberg
0e4e2e91bd
TESTS: Add VERIFY16 tests
2013-01-21 14:27:14 -08:00
Ronnie Sahlberg
9799e04cd5
TESTS: Add WRITE10 tests
2013-01-21 11:49:26 -08:00
Ronnie Sahlberg
8de444bb87
TESTS Add WRITE12 tests
2013-01-21 11:43:50 -08:00
Ronnie Sahlberg
2f90e02395
TESTS: Add tests for WRITE16 to new framework
2013-01-21 11:19:43 -08:00
Ronnie Sahlberg
0c124ce3cc
TESTS Add READ16 tests to the new framework
2013-01-21 08:36:23 -08:00
Ronnie Sahlberg
d1641b762b
TESTS: Add READ12 tests to the new test framework
2013-01-21 08:22:26 -08:00
Ronnie Sahlberg
192ee4d61b
TESTS: convert READ6 tests to the new framework
2013-01-20 17:02:13 -08:00
Ronnie Sahlberg
2a1a7bc2bb
TESTS: convert readcapacity10 test to new framework
2013-01-20 16:22:31 -08:00