Commit Graph

  • 458c342839 typo Ronnie Sahlberg 2012-07-22 07:37:04 +10:00
  • 94cd6bf3b1 TEST: Add test that PREVENTs on different IT_Nexuses do not interfere Ronnie Sahlberg 2012-07-21 15:04:53 +10:00
  • af9d3eab79 fix a typo Ronnie Sahlberg 2012-07-21 12:27:51 +10:00
  • d8ed7d4053 TESTS, After a target/lun reset, wait until the lun stabilizes before continuing the tests Ronnie Sahlberg 2012-07-21 12:26:24 +10:00
  • 9205a71135 fix typo in test, we try to reset the LUN, not the target Ronnie Sahlberg 2012-07-21 12:09:59 +10:00
  • 313d579464 TEST: Add a test that a LUN reset will clear PREVENTALLOW Ronnie Sahlberg 2012-07-21 12:05:25 +10:00
  • ca046ab342 TEST: add a test that a Cold Reset will clear PREVENTALLOW Ronnie Sahlberg 2012-07-21 11:59:34 +10:00
  • 7d0393452c TEST: Add a test that PREVENTALLOW is cleared byb a warm reset Ronnie Sahlberg 2012-07-21 11:53:26 +10:00
  • 44bf8a5a3a TEST: Add a test that a I_T_Nexus loss clears the PREVENTALLOW on that nexus Ronnie Sahlberg 2012-07-21 11:17:09 +10:00
  • 5953607743 TEST: add test that we can not eject media when PREVENTALLOW is set on the I_T_nexus Ronnie Sahlberg 2012-07-21 10:43:33 +10:00
  • 43bf059fca Add ASCQ for MEDIUM_REMOVAL_PREVENTED Ronnie Sahlberg 2012-07-21 10:28:32 +10:00
  • 5cf3ccca75 TEST: Add simple test for PREVENTYALLLOWMEDIUMREMOVAL Ronnie Sahlberg 2012-07-21 10:04:37 +10:00
  • b8e08a355d TESTS: Add test for all media access commands that they fail correctly on ejected media Ronnie Sahlberg 2012-07-18 08:03:29 +10:00
  • 16da01ed4e Add PREVENTALLOWMEDIUMREMOVAL support Ronnie Sahlberg 2012-07-17 18:12:03 +10:00
  • 4a3935770d TEST Add test for powercondition and eject Ronnie Sahlberg 2012-07-16 21:43:27 +10:00
  • db68e68f6d TEST: add simple test for STARTSTOPUNIT Ronnie Sahlberg 2012-07-16 21:06:52 +10:00
  • 1f40de8858 compiler warnings Ronnie Sahlberg 2012-07-15 08:13:40 +10:00
  • 025136e81c Add support for STARTSTOPUNIT command Ronnie Sahlberg 2012-07-15 08:10:39 +10:00
  • e6ca1451b0 TEST add test for wrprotect field in ORWRITE Ronnie Sahlberg 2012-07-14 18:38:48 +10:00
  • 6bbbff64fd Add some missing free calls Ronnie Sahlberg 2012-07-14 18:10:04 +10:00
  • 67f4ceca6b Add COMPAREANDWRITE and ORWRITE to the readonly tests Ronnie Sahlberg 2012-07-14 17:55:10 +10:00
  • 030cb9134a Add lba-out-of-range tests for ORWRITE Ronnie Sahlberg 2012-07-14 17:45:43 +10:00
  • 1a7a92024e Fix typo in orwrite test Ronnie Sahlberg 2012-07-14 17:30:57 +10:00
  • 1ce5d97e57 TEST: Add test for ORWRITE command Ronnie Sahlberg 2012-07-14 17:29:58 +10:00
  • 11f7da678b Add support for ORWRITE Ronnie Sahlberg 2012-07-14 17:01:38 +10:00
  • bee944c3cc update log message Ronnie Sahlberg 2012-07-14 13:17:13 +10:00
  • b5a6f7c3cb Bugfixes for the compare and write tests Ronnie Sahlberg 2012-07-14 13:15:45 +10:00
  • 17e3355dc2 TEST: Add tests for COMPAREANDWRITE Ronnie Sahlberg 2012-07-14 13:06:24 +10:00
  • 017bb69ccd Add new sense code for miscompare during verify Ronnie Sahlberg 2012-07-14 12:49:42 +10:00
  • bac1d4d7af We need to allow >uint8_t as xferlen since this is in unit of bytes, not blocks in the libiscsi api Ronnie Sahlberg 2012-07-14 12:31:38 +10:00
  • bdd6e6bb11 Add support for COMPARE_AND_WRITE command Ronnie Sahlberg 2012-07-14 11:34:40 +10:00
  • f6705d4691 TESTS: Add tests for writing beyond the end of the LUN for WRITEVERIFY10/12/16 Ronnie Sahlberg 2012-07-14 10:54:15 +10:00
  • 477ee0f6f6 TEST: Add wrprotect tests for WRITEVERIFY10/12/16 Ronnie Sahlberg 2012-07-14 08:54:00 +10:00
  • df30827992 Add simple tests for WRITEVERIFY10/12/16 Ronnie Sahlberg 2012-07-14 08:41:04 +10:00
  • bae5ce4c14 TESTS: Add test that WRITEVERIFY* fails if the device is write-protected Ronnie Sahlberg 2012-07-14 08:24:19 +10:00
  • 29f5e9378f Add support for WRITEVERIFY10/12/16 Ronnie Sahlberg 2012-07-14 08:19:43 +10:00
  • 1745f76bef Add SYNCHRONIZECACHE16 support Ronnie Sahlberg 2012-07-13 10:19:44 +10:00
  • eaff5a4e4e TESTS: Add a test that write/unmap fails on read-only devices Ronnie Sahlberg 2012-07-13 10:04:42 +10:00
  • a34874289b Add ascq for WRITE_PROTECTED Ronnie Sahlberg 2012-07-13 09:43:21 +10:00
  • 3221e631c0 MODE_SENSE Add sync version of mode sense 6 Ronnie Sahlberg 2012-07-13 09:33:41 +10:00
  • 6f4afb6edb MEDIUM_NOT_PRESENT/TRAY-CLOSED/TRAY_OPEN is not an error that blocks a successful connect Ronnie Sahlberg 2012-07-12 18:55:35 +10:00
  • 837779541c SG3-UTILS: update the sg3 utils patch Ronnie Sahlberg 2012-07-11 15:45:17 +10:00
  • c251a429f3 Add more sense key strings for the error messages Ronnie Sahlberg 2012-07-11 15:38:38 +10:00
  • 801bfb342d Login: dont fail the login just because there is no media in a device Ronnie Sahlberg 2012-07-11 15:33:32 +10:00
  • c379a3eb27 TESTS: improve the output for some failures Ronnie Sahlberg 2012-07-11 14:16:55 +10:00
  • a684094fbd TEST: exit code is number of failed tests Ronnie Sahlberg 2012-07-11 13:07:24 +10:00
  • 5dc8c7739f Update usage page for the test tool Ronnie Sahlberg 2012-07-10 19:25:26 +10:00
  • e5e4817331 TEST: Add --info to the help page for the test tool Ronnie Sahlberg 2012-07-10 17:30:43 +10:00
  • f2a5ccb4f5 TEST: Allow --info to work when --list is used Ronnie Sahlberg 2012-07-10 17:27:24 +10:00
  • 213918a2f3 LS --SHOW-LUNS Dont treat NOT_READY/MEDIUM_NOT_PRESENT as an error Ronnie Sahlberg 2012-07-10 16:50:16 +10:00
  • cadc1650e1 Add ASCQ for MEDIUM_NOT_PRESENT Ronnie Sahlberg 2012-07-10 16:40:58 +10:00
  • fbd6a9a960 Fix incorrect prontout on test failure. Wrong sense printed Ronnie Sahlberg 2012-07-10 16:29:34 +10:00
  • 9e0e910810 New version 1.5.0 Ronnie Sahlberg 2012-07-09 15:19:25 +10:00
  • e94504e1d0 Merge pull request #10 from aredlich/master Ronnie Sahlberg 2012-07-08 14:27:53 -07:00
  • 6edf993507 Make headers in include/ digestible for C++ Arne Redlich 2012-07-08 13:38:41 +02:00
  • 121e555897 slist.h: add include guards Arne Redlich 2012-07-08 13:34:22 +02:00
  • 55a10b1534 Merge pull request #9 from yuripankov/master Ronnie Sahlberg 2012-06-30 14:05:22 -07:00
  • e671ba4699 Update examples/iscsi-dd.c to new iscsi_read10_task() API Chris Webb 2012-06-16 16:27:50 +01:00
  • ecbff226b8 Improve tests for READ10/READ12/READ16 Ronnie Sahlberg 2012-06-24 07:55:49 +10:00
  • 27ea207fd4 Improve WRITE10/12/16 tests Ronnie Sahlberg 2012-06-24 07:43:28 +10:00
  • 7e0e732128 Add tests for writing 0 blocks with WRITESAME10/16 Ronnie Sahlberg 2012-06-24 07:30:03 +10:00
  • e7c8a173ab Add tests for the WRPROTECT bits for WRITESAME10/16 Ronnie Sahlberg 2012-06-23 21:40:58 +10:00
  • 124b71bd80 READ10 tests. Add tests fopr lba 2^31 an lba -1 Ronnie Sahlberg 2012-06-23 21:25:39 +10:00
  • 14a70127ce Add tests for WRITESAME10/16 for writing beyond the end of the device Ronnie Sahlberg 2012-06-23 21:18:38 +10:00
  • 2a0ad3bd2d FreeBSD and illumos do not define SOL_TCP Yuri Pankov 2012-06-20 02:54:34 +04:00
  • 04b5fc86d2 WRITE_SAME16 Tests update Ronnie Sahlberg 2012-06-17 21:32:56 +10:00
  • 620ba234c3 WRITESAME10 UNMAP Tests updates Ronnie Sahlberg 2012-06-17 21:27:22 +10:00
  • b23547546f LOGIN commands NEVER use header digest since even if the login is spanning multiple PDU sequences it is still treated as one logical operation. Ronnie Sahlberg 2012-06-17 12:37:13 +10:00
  • 1d3e910769 TESTS: Add tests for WRITE10 Ronnie Sahlberg 2012-06-05 19:36:25 +10:00
  • d5f646099d READ10/WRITE10: Change these functions to sue the same signatures as the other READ/WRITE Ronnie Sahlberg 2012-06-05 19:18:32 +10:00
  • 5ccf2f4d87 Add tests for verify10/16 for lba out of range Ronnie Sahlberg 2012-06-04 20:45:59 +10:00
  • 9130d2eb45 Add support for VERIFY12 and tests Ronnie Sahlberg 2012-06-04 20:35:15 +10:00
  • 6003000809 Add VERIFY16 support and tests Ronnie Sahlberg 2012-06-04 20:16:44 +10:00
  • f6fd18ee3a TEST: Fix cutnpaster typo Ronnie Sahlberg 2012-06-03 14:42:04 +10:00
  • 34778d353c TEST: Add test for READ16 at LBA 2^63. Ronnie Sahlberg 2012-06-03 14:35:33 +10:00
  • d908c1a642 TESTS: Improve the tests when reading from LBA -1 Ronnie Sahlberg 2012-06-03 10:16:18 +10:00
  • 26873ea6ce TESTS: Improve tests for reading at LBA -1 Ronnie Sahlberg 2012-06-03 10:05:42 +10:00
  • 5eca632542 TEST-TOOL: Allow wildcards for the test name. Ronnie Sahlberg 2012-06-03 09:15:09 +10:00
  • 288fd5e9fe TEST-TOOL: Add a --info argument to print more detailed infor what a test does Ronnie Sahlberg 2012-06-03 09:08:12 +10:00
  • 9e09a46ddd LOGIN: Once the login phase has finished, bump ITT by one Ronnie Sahlberg 2012-06-02 17:51:10 +10:00
  • 819248a519 LOGIN: Dont increment the ITT if the target wants another round of LOGIN Ronnie Sahlberg 2012-06-02 15:41:38 +10:00
  • a0a4677dfa TEST: Add GET_LBA_STATUS test for LBA out of range Ronnie Sahlberg 2012-05-30 19:07:39 +10:00
  • 812df62bfd SBC: Add GET_LBA_STATUS support and simple test Ronnie Sahlberg 2012-05-30 18:41:12 +10:00
  • 6be4a82407 Remove some unused variables Ronnie Sahlberg 2012-05-30 18:23:15 +10:00
  • 824a33c834 win32 set the socket to nonblocking moe for win32 Ronnie Sahlberg 2012-05-15 22:08:10 +10:00
  • db8dadab21 win32 updat ethe example app iscsiclient to compile and link with the compatibility functions Ronnie Sahlberg 2012-05-15 21:59:59 +10:00
  • e4739d639f win32: build the library with win32_compat functions and also link the dll with kernel32 to get Sleep() Ronnie Sahlberg 2012-05-15 21:57:05 +10:00
  • dafa186868 win32: connect.c needs the compatibility functions Ronnie Sahlberg 2012-05-15 21:54:10 +10:00
  • 201d6c3b54 win32: sinc.c need the compatibility header so it finds the replacement for poll() Ronnie Sahlberg 2012-05-15 21:51:53 +10:00
  • 7215a917f2 win32: create a compatibility macro for sleep() Ronnie Sahlberg 2012-05-15 21:49:29 +10:00
  • 6c23b6acc1 win32: remove some definitions we dont need in the win32 compatibility header Ronnie Sahlberg 2012-05-15 21:47:45 +10:00
  • 05d2f81a84 win32: unistd.h is not available under win32 Ronnie Sahlberg 2012-05-15 21:45:30 +10:00
  • ec0d9682a7 Dont use FIONREAD just rely on the fact the socket is nonblocking and look for EAGAIN when we reach the end of available data. Ronnie Sahlberg 2012-05-15 20:32:37 +10:00
  • bb685e91f1 include stdlib.h for random declaration in test-tool/0132_verify10_mismatch_no_cmp.c Michael Tokarev 2012-05-13 14:59:55 +04:00
  • 23b40111fc ignore m4/ directory and (re)create it in autogen.sh Michael Tokarev 2012-05-13 14:59:54 +04:00
  • 83730f7d4c w32: dont export our version of poll. Ronnie Sahlberg 2012-05-13 17:21:53 +10:00
  • 1c63b55e20 W32: update libiscsi.def with all new and missing symbols Ronnie Sahlberg 2012-05-13 17:05:25 +10:00
  • bd48629c8b W32: copy the compatibility functions for poll (and some others) from libnfs so win32 can use a porper poll emulation in the future. Ronnie Sahlberg 2012-05-13 16:48:50 +10:00
  • ed4b8ec72e W32: Remove our poor emulation of poll() from the w32 build. Ronnie Sahlberg 2012-05-13 16:46:38 +10:00
  • 261924d73a export only required symbols, do not export internal symbols from the library Michael Tokarev 2012-05-12 01:20:16 +04:00