Commit Graph

136 Commits

Author SHA1 Message Date
Ronnie Sahlberg
0d5c8a4f11 TESTS: Add test for PREVENTALLOWMEDIUMREMOVAL are cleared on lun/target reset 2013-03-03 13:37:52 -08: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
Ronnie Sahlberg
397735a5db Add the manpage XML files to the distribution 2013-02-24 12:20:57 -08:00
Ronnie Sahlberg
e4c800d998 DOC: Add manpage for iscsi-inq 2013-02-24 11:02:06 -08:00
Ronnie Sahlberg
777936507a MANPAGES: Add manpage for iscsi-ls 2013-02-24 10:36:45 -08:00
Ronnie Sahlberg
0a7e9a200b Makefile: Add two new headerfiles that are used for the test tools 2013-02-24 08:59:08 -08:00
Ronnie Sahlberg
286c5ecb90 Merge pull request #59 from bonzini/master
usual bunch of autotools fixes
2013-02-24 08:24:39 -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
Paolo Bonzini
466da447f3 do not include /usr/local/include path
This should be done using the COMPILER_PATH environment variable
if needed (in .bashrc), but should not really be needed at all.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2013-02-22 18:01:22 +01:00
Paolo Bonzini
a5fd68472e distribute pkgconfig file
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2013-02-22 18:01:22 +01: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
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
Ronnie Sahlberg
f816af3f83 TESTS: Keep the tests listed in alphabetical order for the opcodes 2013-02-09 12:14:41 -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
aefa88b724 TESTS: Add tests that WRITESAME10/16 UNMAP will unmap until end of the device when number-of-blocks is set to 0 2013-01-27 10:32:00 -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
bfbde8b097 TEST: Add test for 0 blocks for UNMAP and fix num_blocks which was off by one
across the testsuite
2013-01-21 20:20:46 -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
Ronnie Sahlberg
d21ad441bf Add check for libcunit and only build the test suite if libcunit is available 2013-01-06 11:28:07 -08:00
Lee Duncan
d3324decd2 CUnit tests now working for first 2 suites, but
Makefile.am not correct yet.
2013-01-04 18:11:36 -08:00
Lee Duncan
fb4724c813 Added guts of new cunit-based main routine 2013-01-03 19:57:09 -08:00
Lee Duncan
ee5000ba9d Moved support routines from iscsi-test to iscsi-support,
in preperation for sharing non-main functions.
2013-01-02 17:15:48 -08:00
Lee Duncan
d9664cb26a Added test for other 5 PGR reservation types. 2012-12-28 11:21:37 -08:00
Lee Duncan
fbf8b5e426 - Made PGR test more verbose (naming initiator).
- Added test for Exclusive Access PGR reservation access testing.
2012-12-27 12:51:38 -08:00
Lee Duncan
474cec5556 Added new 1130* test file for PGR simple reserve testing.
Added infrastructure to support reading, setting, and
clearing reservations.
2012-12-22 13:50:55 -08:00
Ronnie Sahlberg
0338e4edd0 TEST: Change the last test to be a more simple REGISTER/UNREGISTER test for persisntet registrations. 2012-12-18 20:30:03 -08:00
Ronnie Sahlberg
2a74fc00bc Initial support for PERSISTENT_RESERVER_OUT and add a simple test to show the api 2012-12-17 21:25:46 -08:00
Ronnie Sahlberg
d324a94051 Add test for the range of service actions for PERSISTENT_RESERVE_IN 2012-12-17 19:42:30 -08:00
Ronnie Sahlberg
c60093eafe Add support for PERSISTENT_RESERVE_IN and add a simple test for READ_KEYS 2012-12-17 19:01:50 -08:00
Ronnie Sahlberg
f1d5510e9c TESTS: Add test that we can talk to a target with IMMEDIATE_DATA==NO and INITIAL_R2T==NO 2012-12-01 11:40:07 -08:00