Commit Graph

  • cfc83f0b4f Reservation type not needed to register. Lee Duncan 2013-03-22 15:43:28 -07:00
  • fd77387c66 TESTS: Add tests to verify a RESERVE6 is dropped on logout and it-nexus loss Ronnie Sahlberg 2013-03-21 19:55:24 -07:00
  • 6c0fd5cfa3 TESTS: Add RESERVE6/RELEASE6 tests Ronnie Sahlberg 2013-03-21 19:41:32 -07:00
  • d5c5fb83af We should still be able to login even if the device is reserved. Ronnie Sahlberg 2013-03-21 19:26:55 -07:00
  • 6a3888e39e TESTS: Old and new testsuite tested slightly different things for 0block tests Ronnie Sahlberg 2013-03-19 18:04:24 -07:00
  • f11749ca52 TEST: Add test that all mandatoryb VPD pages are available on SBC devices Ronnie Sahlberg 2013-03-12 19:26:39 -07:00
  • ec70169380 TEST: Add test for the supported VPD pages and that we can read them Ronnie Sahlberg 2013-03-12 18:41:57 -07:00
  • e84b71af15 TEST: Add test for EVPD bit for INQUIRY commands Ronnie Sahlberg 2013-03-12 18:29:24 -07:00
  • b10641566e TESTS: Add tests for INQUIRY allocation length. Add special test that for SPC3+ devices we do have 16 bits of alloc length available. Ronnie Sahlberg 2013-03-11 18:32:29 -07:00
  • f8901ea18e Merge pull request #61 from plieven/ascq Ronnie Sahlberg 2013-03-11 06:46:20 -07:00
  • f2e244f10c Merge pull request #60 from plieven/defer_reconnect Ronnie Sahlberg 2013-03-11 06:45:29 -07:00
  • 80ef1807ef Add ASCQ codes related to thin-provisioning Peter Lieven 2013-03-11 12:13:42 +01:00
  • 5a94d5d73a fix leak of iscsi_context in iscsi_reconnect Peter Lieven 2013-03-11 08:51:18 +01:00
  • 327b51ed5b do not reconnect if reconnect is already defered Peter Lieven 2013-03-11 08:44:11 +01:00
  • 0bc415761a TESTS: Add test for standard inquiry page Ronnie Sahlberg 2013-03-10 19:02:45 -07:00
  • 3e28133a9a Add unmarshallers for READ*/VERIFY*/WRITE* cdb Ronnie Sahlberg 2013-03-10 09:19:23 -07:00
  • ad0b14e833 TEST: Add a test to verify PREVENT REMOVALs are seen across all nexuses Ronnie Sahlberg 2013-03-03 13:44:16 -08:00
  • 0d5c8a4f11 TESTS: Add test for PREVENTALLOWMEDIUMREMOVAL are cleared on lun/target reset Ronnie Sahlberg 2013-03-03 13:37:52 -08:00
  • d288d5a8b6 TESTS: Add tests for prevent/allow medium removal Ronnie Sahlberg 2013-03-03 10:05:57 -08:00
  • a2fd736930 TESTS: Add tests for medium access commands when medium is ejected Ronnie Sahlberg 2013-03-03 09:26:34 -08:00
  • 44c789c9c8 TESTS: Add tests for STARTSTOPUNIT Ronnie Sahlberg 2013-03-02 16:53:40 -08:00
  • fdd15d7b08 SPEC: add the manpages and read16 command to the specfile Ronnie Sahlberg 2013-02-24 12:44:22 -08:00
  • 397735a5db Add the manpage XML files to the distribution Ronnie Sahlberg 2013-02-24 12:20:57 -08:00
  • e4c800d998 DOC: Add manpage for iscsi-inq Ronnie Sahlberg 2013-02-24 11:02:06 -08:00
  • 777936507a MANPAGES: Add manpage for iscsi-ls Ronnie Sahlberg 2013-02-24 10:36:45 -08:00
  • 2e126318ac New version 1.9.0 Ronnie Sahlberg 2013-02-24 09:09:02 -08:00
  • 50d1f68ef1 Update README and mention iscsi-test-cu Ronnie Sahlberg 2013-02-24 09:07:02 -08:00
  • 0a7e9a200b Makefile: Add two new headerfiles that are used for the test tools Ronnie Sahlberg 2013-02-24 08:59:08 -08:00
  • 286c5ecb90 Merge pull request #59 from bonzini/master Ronnie Sahlberg 2013-02-24 08:24:39 -08:00
  • 8493ec5837 Added persistent reservation ownership tests. Lee Duncan 2013-02-20 13:09:01 -08:00
  • c4df17e794 minor cleanup of persistent reserve access test Lee Duncan 2013-02-20 13:09:00 -08:00
  • 5bb67f0a0b remove libdir hack Paolo Bonzini 2013-02-22 17:27:19 +01:00
  • 466da447f3 do not include /usr/local/include path Paolo Bonzini 2013-02-22 17:26:51 +01:00
  • a5fd68472e distribute pkgconfig file Paolo Bonzini 2013-02-22 17:26:03 +01:00
  • 473172813b TEST: Add ORWRITE test to the READONLY device test Ronnie Sahlberg 2013-02-19 19:32:01 -08:00
  • 41754b45e8 TESTS: Add tests for ORWRITE Ronnie Sahlberg 2013-02-19 19:30:51 -08:00
  • 100fcd796d Add ASCQ code for CAPACITY_DATA_HAS_CHANGED Ronnie Sahlberg 2013-02-19 17:59:45 -08:00
  • fc1b2697d4 TESTS: Add tests for WRITEVERIFY10/12/16 Ronnie Sahlberg 2013-02-18 20:16:41 -08:00
  • 02010f9157 TESTS: Add tests that medium changing commands fail for readonly devices Ronnie Sahlberg 2013-02-18 19:28:53 -08:00
  • 5fe7eb573c TESTS: Add beyond eol test for GET_LBA_STATUS Ronnie Sahlberg 2013-02-18 18:11:05 -08:00
  • 07bb4d04d2 ported group reservation access control test to CUnit Lee Duncan 2013-02-16 13:56:22 -08:00
  • 9b436eee2f ported 3 more group reservation tests to CUnit Lee Duncan 2013-02-16 13:56:21 -08:00
  • 99ef5c6495 group reservation tests logging and cleanup Lee Duncan 2013-02-16 13:56:20 -08:00
  • 9d46353a62 Added dataloss checks for prout_* functions Lee Duncan 2013-02-16 13:56:19 -08:00
  • 40b0a842d1 Cleaned up prin_read_keys since task always passed in Lee Duncan 2013-02-16 13:56:18 -08:00
  • 4c8770a405 Renamed group reservation routines with prin_*/prout_* Lee Duncan 2013-02-16 13:56:17 -08:00
  • d5f2e7120a Fixup the get-lba-status tests Ronnie Sahlberg 2013-02-13 18:21:13 -08:00
  • 990af4a427 Added printf format checking to logging function. Lee Duncan 2013-02-13 12:37:55 -08:00
  • a1590cf30c TEST: Add simple test for GET_LBA_STATUS Ronnie Sahlberg 2013-02-09 14:12:28 -08:00
  • f816af3f83 TESTS: Keep the tests listed in alphabetical order for the opcodes Ronnie Sahlberg 2013-02-09 12:14:41 -08:00
  • 3f4bb80fd4 Converted first PGR test to new CUnit format Lee Duncan 2013-02-07 11:15:32 -08:00
  • 49d1f87d17 Clean up comment and usage message Lee Duncan 2013-02-07 11:14:11 -08:00
  • 7a9140f2f6 Removing useless debug print message Lee Duncan 2013-02-07 11:13:05 -08:00
  • c1722f5fac Merge pull request #58 from plieven/upstream_fixes Ronnie Sahlberg 2013-01-28 17:34:20 -08:00
  • 8bc0046f51 changed iscsi_data.size from int to size_t Peter Lieven 2013-01-28 09:36:00 +01:00
  • 7e46a5a337 RECONNECT fix lost allocation on reconnect. Peter Lieven 2013-01-28 09:31:13 +01:00
  • aefa88b724 TESTS: Add tests that WRITESAME10/16 UNMAP will unmap until end of the device when number-of-blocks is set to 0 Ronnie Sahlberg 2013-01-27 10:32:00 -08:00
  • 8e85b87092 TESTS: Add tests for PREFETCH10/16 to the new test suite Ronnie Sahlberg 2013-01-26 18:07:25 -08:00
  • 0dbffe1a5d TESTS Add tests for WRITESAME16 to the new testsuite Ronnie Sahlberg 2013-01-26 09:18:39 -08:00
  • f8298d013c TESTS: Add WRITESAME10 tests to the new testsuite Ronnie Sahlberg 2013-01-26 09:05:02 -08:00
  • 0f73f062d2 SCSI: remove LBDATA/PBDATA from the WriteSame10/16 signatures Make LBA the third argument to the iscsi writesame functions Ronnie Sahlberg 2013-01-21 21:15:37 -08:00
  • 9bf6a3d68b UNMAP test, add subtest for no-descriptor at all Ronnie Sahlberg 2013-01-21 20:36:04 -08:00
  • 27f46c862f TEST: Add one more 0-block subtest for UNMAP Ronnie Sahlberg 2013-01-21 20:30:06 -08:00
  • 7027ccb3b2 TESTS: Fix num_blocks offset by one in the beyond-eol tests Ronnie Sahlberg 2013-01-21 20:27:12 -08:00
  • bfbde8b097 TEST: Add test for 0 blocks for UNMAP and fix num_blocks which was off by one across the testsuite Ronnie Sahlberg 2013-01-21 20:20:46 -08:00
  • 72598c0b46 UNMAP: Fix marshalling of DATA when more than one unmap descriptor is sent. Ronnie Sahlberg 2013-01-21 20:06:11 -08:00
  • 2535eaed47 TEST add simple UNMAP test Ronnie Sahlberg 2013-01-21 19:38:51 -08:00
  • d7be22fa2f TESTS: add READCAPACITY16 tests Ronnie Sahlberg 2013-01-21 17:13:48 -08:00
  • ab3dfae005 TESTS add tests for VERIFY10 and VERIFY12 Ronnie Sahlberg 2013-01-21 14:50:40 -08:00
  • 0e4e2e91bd TESTS: Add VERIFY16 tests Ronnie Sahlberg 2013-01-21 14:27:14 -08:00
  • 9799e04cd5 TESTS: Add WRITE10 tests Ronnie Sahlberg 2013-01-21 11:49:26 -08:00
  • 8de444bb87 TESTS Add WRITE12 tests Ronnie Sahlberg 2013-01-21 11:43:50 -08:00
  • 84c8606c90 TESTS: change write16 flags/wrprotect tests to also write one block of data Ronnie Sahlberg 2013-01-21 11:24:31 -08:00
  • 2f90e02395 TESTS: Add tests for WRITE16 to new framework Ronnie Sahlberg 2013-01-21 11:19:43 -08:00
  • 0c124ce3cc TESTS Add READ16 tests to the new framework Ronnie Sahlberg 2013-01-21 08:36:23 -08:00
  • d1641b762b TESTS: Add READ12 tests to the new test framework Ronnie Sahlberg 2013-01-21 08:22:26 -08:00
  • 192ee4d61b TESTS: convert READ6 tests to the new framework Ronnie Sahlberg 2013-01-20 17:02:13 -08:00
  • 2a1a7bc2bb TESTS: convert readcapacity10 test to new framework Ronnie Sahlberg 2013-01-20 16:22:31 -08:00
  • a57ef69c8e TESTS: fixup the first-log-line of each test Ronnie Sahlberg 2013-01-15 18:31:18 -08:00
  • e6d2c0713c TESTS-CU: Indent the verbose logging by 4 spaces Ronnie Sahlberg 2013-01-14 06:39:25 -08:00
  • 0f9d8d0617 TEST: Add a new flag -V that enables verbose logging off the SCSI commands used and if they succeeded or failed Ronnie Sahlberg 2013-01-07 19:23:51 -08:00
  • d97b3b30e3 TEST: Add a \n to the start of READ10_flags logging Ronnie Sahlberg 2013-01-06 17:10:33 -08:00
  • 4b3a53f7be TESTS: Update the READ10 tests for the new test tool Ronnie Sahlberg 2013-01-06 17:08:50 -08:00
  • 179d7b4f55 TESTS: Add different log levels to the TUR test test suite and see how it looks Ronnie Sahlberg 2013-01-06 15:04:31 -08:00
  • d21ad441bf Add check for libcunit and only build the test suite if libcunit is available Ronnie Sahlberg 2013-01-06 11:28:07 -08:00
  • a85db82806 Merge remote branch 'gonzoleeman/cunit' into cunit Ronnie Sahlberg 2013-01-06 11:13:00 -08:00
  • 39fcc2bc20 README: Update the url for release tarballs Ronnie Sahlberg 2013-01-05 11:33:24 -08:00
  • 1dc4023d70 New version 1.8.0 Ronnie Sahlberg 2013-01-05 09:30:33 -08:00
  • d3324decd2 CUnit tests now working for first 2 suites, but Makefile.am not correct yet. Lee Duncan 2013-01-04 18:11:36 -08:00
  • fb4724c813 Added guts of new cunit-based main routine Lee Duncan 2013-01-03 19:57:09 -08:00
  • b8da17b3ec Now main() is seperate from guts of testing. Lee Duncan 2013-01-03 19:56:30 -08:00
  • ee5000ba9d Moved support routines from iscsi-test to iscsi-support, in preperation for sharing non-main functions. Lee Duncan 2013-01-02 17:15:48 -08:00
  • 065319f996 SCSI Add support for STATUS_BUSY Ronnie Sahlberg 2013-01-01 10:15:56 -08:00
  • d9664cb26a Added test for other 5 PGR reservation types. Lee Duncan 2012-12-28 11:21:37 -08:00
  • 6a122428dd Merge https://github.com/sahlberg/libiscsi Lee Duncan 2012-12-27 19:18:53 -08:00
  • fbf8b5e426 - Made PGR test more verbose (naming initiator). - Added test for Exclusive Access PGR reservation access testing. Lee Duncan 2012-12-27 12:51:38 -08:00
  • 91155c42e4 TESTS: Read standard inq page before we spawn the tests We dont need to call inq so often from the tests if we read the standard page once before the tests begin Ronnie Sahlberg 2012-12-27 11:47:34 -08:00
  • 3a4605d3e5 TESTS: Remove some READCAPACITY16 we no longer need Ronnie Sahlberg 2012-12-27 07:04:23 -08:00
  • 5ad957b873 TESTS: Start fixing up the tests so we can test-suite them properly Ronnie Sahlberg 2012-12-26 18:34:12 -08:00
  • 3c960c1d42 TESTS: Create helpers for VERIFY16 and switch all tests over to use them Ronnie Sahlberg 2012-12-26 09:25:45 -08:00