Commit Graph

  • 4f55a3f5c3 test/preventallow: use multipath session if available David Disseldorp 2015-09-21 15:53:31 +02:00
  • 69d9a77f14 test/sanitize: use multipath session if available David Disseldorp 2015-09-21 15:52:40 +02:00
  • 638d58dd57 test/prout: use multipath session if available David Disseldorp 2015-09-21 15:47:21 +02:00
  • 89c1749ae7 test/reserve6: use multipath session if available David Disseldorp 2015-09-21 15:40:18 +02:00
  • 0cfc593bbd test/multipath: add helper to obtain secondary sessions David Disseldorp 2015-09-21 15:11:37 +02:00
  • 1540ab460d TESTS: remove extra assert Ronnie Sahlberg 2015-09-19 16:48:26 -07:00
  • fae0d70260 TESTS: Dont try to eject the media if preventallow is not supported Ronnie Sahlberg 2015-09-19 16:29:29 -07:00
  • e725788eeb TESTS: WriteAtomic fixes to handle devices that do not return BlockLimits VPD Ronnie Sahlberg 2015-09-19 16:12:01 -07:00
  • fe1017fe2a TESTS: Don't test WriteSame10/16 if we do not have BlockLimits VPD Ronnie Sahlberg 2015-09-19 16:06:05 -07:00
  • 67932e870e TEST: Fix number of blocks in Get_LBA_STATUS simple Ronnie Sahlberg 2015-09-19 15:58:03 -07:00
  • 7924ae5385 TEST: Skip CompareAndWrite DPO/FUA test early if the opcode is not supported. Ronnie Sahlberg 2015-09-19 15:52:44 -07:00
  • f7ea45e053 TESTS: ReportSuppOpcodes, handle broken targets that return success but no data. Ronnie Sahlberg 2015-09-19 15:47:13 -07:00
  • d7606c44e2 TESTS: Update checks for DPUFUA bits in CDB_USAE_DATA fields Ronnie Sahlberg 2015-09-19 15:24:04 -07:00
  • ac3b1d6e3c TEST: Fix the READ6 tests so they work for linux usb devices Ronnie Sahlberg 2015-09-19 14:55:58 -07:00
  • e57b266e91 TESTS: Fix how we compute the max transfer length the bus can handle was broken Ronnie Sahlberg 2015-09-19 14:41:52 -07:00
  • 3b98737e3c Merge pull request #181 from ddiss/mp_reset_v2 Ronnie Sahlberg 2015-09-19 14:12:14 -07:00
  • 5c0b1b9913 test/pr: simple PR Out CLEAR test David Disseldorp 2015-09-18 18:00:51 +02:00
  • a90e5a3d4c test/iscsi-support: PR Out CLEAR helper function David Disseldorp 2015-09-18 17:58:42 +02:00
  • a569d55a0e test/multipath: add COMPARE AND WRITE test David Disseldorp 2015-07-24 18:59:06 +02:00
  • b9dd210194 test/multipath: add logical unit reset test David Disseldorp 2015-06-03 16:47:36 +02:00
  • 6b3ee9931a test/multipath: add helper to check that all paths are iSCSI David Disseldorp 2015-09-17 18:03:41 +02:00
  • 2e59742b1f TESTS: Dont assume atomic align/granularity is always reported as non-0 Ronnie Sahlberg 2015-09-12 13:38:02 -07:00
  • e59d2ce1d3 TESTS: ifdef out iov_tot_len if we do not have SG_IO Ronnie Sahlberg 2015-09-12 12:43:07 -07:00
  • fa9df7fdd3 TESTS: Fix the writeatomic tests for targets where atomic granularity != 1 Ronnie Sahlberg 2015-09-10 17:20:06 -07:00
  • fd55600d39 TESTS: Print correct sense data when a command fail that were expected to succeed Ronnie Sahlberg 2015-09-10 16:45:24 -07:00
  • 126bbd8b29 TESTS: Add WriteAtomic tests for alignment and granularity Ronnie Sahlberg 2015-09-09 09:53:09 -07:00
  • 4c87f455ae TESTS: Verify that MAX_ATOMIC_XFER_LEN is <= MAX_XFER_LEN Ronnie Sahlberg 2015-09-09 06:55:13 -07:00
  • b4cdf07271 Add tests that BlockLimits VPD matches the AtomicWrite16 support Ronnie Sahlberg 2015-09-09 06:48:49 -07:00
  • 80b81772e2 Add unmarshalling of VPD BLock Limits settings for atomic writes Ronnie Sahlberg 2015-09-09 06:17:56 -07:00
  • 6c16f9e322 Add tests for WRITE_ATOMIC_16 Ronnie Sahlberg 2015-09-08 10:09:26 -07:00
  • 02fd6217cb Add support for WRITE_ATOMIC_16 Ronnie Sahlberg 2015-09-08 09:45:33 -07:00
  • 639c6f4c15 Merge pull request #180 from rcsheets/autogen-can-fail Ronnie Sahlberg 2015-09-06 07:17:18 -07:00
  • 9826147581 test_extendedcopy_descr_limits: Fix a crash if this command is not supported Bart Van Assche 2015-08-31 14:48:59 -07:00
  • b3b2964752 When type output is not wanted, redirect all output instead of just stdout Robert C. Sheets 2015-08-27 10:47:48 -07:00
  • a62db28570 One more comment Robert C. Sheets 2015-08-27 03:21:44 -07:00
  • 206f9fdf86 Bail out with a useful message if a required command isn't available Robert C. Sheets 2015-08-27 03:18:51 -07:00
  • 3b8b42d976 TESTS: Add missing check for not supported : RECEIVE_COPY_RESULTS Ronnie Sahlberg 2015-08-02 12:37:07 -07:00
  • 0bb846c0f5 Don't use alloca for large blobs. Ronnie Sahlberg 2015-08-02 12:31:18 -07:00
  • a6f7c06119 Add support and tests for ExtendedCopy and ReceiveCopyResults Ronnie Sahlberg 2015-08-02 11:47:29 -07:00
  • 4518dfa43c Don't leak memory in the test helper for write16 Ronnie Sahlberg 2015-08-02 12:03:16 -07:00
  • c29b9bcc60 TEST: NULL out rsop_task after freeing it to avoid double free. Ronnie Sahlberg 2015-08-02 12:09:24 -07:00
  • 1b95b79147 Merge pull request #177 from deepankar/master Ronnie Sahlberg 2015-07-18 07:09:16 -07:00
  • 1cef3e62a9 Fix documentation typos and copy-paste errors. Kamalneet Singh 2015-07-18 05:36:19 -07:00
  • 96c00b2178 New version 1.15.0 Ronnie Sahlberg 2015-06-21 08:50:50 -07:00
  • ed17e17f8e Fix broken makefile Ronnie Sahlberg 2015-06-16 07:06:43 -07:00
  • 29e2ae2868 Merge pull request #175 from plieven/timeout Ronnie Sahlberg 2015-06-16 06:09:16 -07:00
  • 1ceb216394 pdu: timed out pdus might have no callback Peter Lieven 2015-06-16 12:14:11 +02:00
  • 85fc823f59 pdu: do not leak timed out pdus Peter Lieven 2015-06-16 12:08:13 +02:00
  • 7dd62aca61 pdu: add more debugging info for timed out commands Peter Lieven 2015-06-16 12:06:59 +02:00
  • 0a3e157844 reconnect: copy scsi_timeout on reconnect Peter Lieven 2015-06-16 11:32:50 +02:00
  • 65eb400891 Merge pull request #174 from agrare/master Ronnie Sahlberg 2015-06-12 06:42:11 -07:00
  • 838c35b693 test_modesense6_control_swp test: read current control before modeselect6 Adam Grare 2015-06-11 16:39:47 -04:00
  • f240ef1cc7 Merge pull request #173 from rodrigc/fix4 Ronnie Sahlberg 2015-06-04 00:15:52 -07:00
  • c7398ac0d1 Merge pull request #171 from rodrigc/fix2 Ronnie Sahlberg 2015-06-04 00:13:37 -07:00
  • 514de96e15 TEST-TOOL: We need to include the multipath header in the dist files Ronnie Sahlberg 2015-06-03 23:54:23 -07:00
  • 7fe7891e84 reserve6 tests: fix login parameters Craig Rodrigues 2015-06-03 20:23:09 +00:00
  • 1995298914 test_modesense6_control_swp: skip test if target cannot change swp Craig Rodrigues 2015-06-03 18:52:04 +00:00
  • 3f73f00b25 Merge pull request #168 from rodrigc/fix1 Ronnie Sahlberg 2015-06-02 19:39:02 -07:00
  • ff7a73360a test_reserve6_target_cold_reset: fix login parameters Craig Rodrigues 2015-06-03 02:30:31 +00:00
  • a8e42680ed MULTIPATH TESTS: Remove the iscsi-only restriction. The tests work for /dev/* too Ronnie Sahlberg 2015-06-01 21:28:49 -07:00
  • 2388db9f12 MULTIPATH TEST: use READ10/WRITE10 instead of READ16/WRITE16 Ronnie Sahlberg 2015-06-01 21:27:51 -07:00
  • 3601799a1b MULTIPATH TESTS: fix another bug where we did an inquiry for the wrong page Ronnie Sahlberg 2015-06-01 21:18:28 -07:00
  • 95d763d9f9 TESTS: Add comment to describe why we keep a pointer around for iscsi_queue_pdu Ronnie Sahlberg 2015-06-01 21:16:39 -07:00
  • 86a42c8b3a MULTIPATH TESTS: pass the right pointer back when copying a des Ronnie Sahlberg 2015-06-01 19:39:13 -07:00
  • 86df6c9a20 MULTIPATH TESTS: We need to pass the correct evpv/pagecode when we reissue an inquiry Ronnie Sahlberg 2015-06-01 19:30:19 -07:00
  • 73102aeddd Merge pull request #167 from ddiss/test-multipath-v2 Ronnie Sahlberg 2015-06-01 07:06:29 -07:00
  • 34dea87a69 test: add simple multipath IO test David Disseldorp 2015-05-28 15:40:05 +02:00
  • 43b47cf1fb test/multipath: add MPATH_SKIP_IF_UNAVAILABLE macro David Disseldorp 2015-05-28 13:52:01 +02:00
  • 024fe873e3 iscsi-test-cu: support multiple iSCSI URLs for multipath David Disseldorp 2015-05-25 15:38:41 +02:00
  • a291c2b308 test: add multipath helper functions David Disseldorp 2015-05-26 15:19:29 +02:00
  • 0630aa5ef0 Timeouts: Fix bugs in scsi task timeout code Ronnie Sahlberg 2015-05-18 21:55:26 -07:00
  • cb4ad5f774 Connect: Don't use the TUR checks on re-connects Ronnie Sahlberg 2015-05-19 19:21:26 -07:00
  • 2f10f05084 TESTS: improve text output for test_report_supported_opcodes_rctd Ronnie Sahlberg 2015-05-13 19:54:50 -07:00
  • 6e4a84f815 TESTS Add the modesense tests to the linux family Ronnie Sahlberg 2015-05-13 19:50:24 -07:00
  • d9352865c2 TESTS: Skip the test with a warning if BlockDevChar VPD page is missing Ronnie Sahlberg 2015-05-12 20:30:04 -07:00
  • 2a6264f76e TESTS: Change ModeSense6.Control D_SENSE test to work with /dev/* devices Ronnie Sahlberg 2015-05-12 20:23:08 -07:00
  • b2b474f3ad TESTS: Allow inquiry(block dev characteristics) to fail Ronnie Sahlberg 2015-05-12 20:17:50 -07:00
  • 811c04f01a TESTS: read12/read16 change signature to return an optional task structure Ronnie Sahlberg 2015-05-12 19:48:54 -07:00
  • 20ef4b5687 README: Update the README with more unit test documentation Ronnie Sahlberg 2015-05-11 06:25:29 -07:00
  • 1c9792941f iscsi-perf: use uint64_t instead of u_int64_t Ronnie Sahlberg 2015-05-10 10:52:32 -07:00
  • 45f667739c login.c: use uint32_t instead of u_int32_t Ronnie Sahlberg 2015-05-10 10:49:31 -07:00
  • de0795928a makerpms.sh : we dont need to configure from this script. rpmbuild will do it Ronnie Sahlberg 2015-05-10 10:04:20 -07:00
  • 0ae2e936df Add tests t Makefile.am subdirectories Ronnie Sahlberg 2015-05-10 10:04:04 -07:00
  • dfeefd6539 New version 1.14.0 Ronnie Sahlberg 2015-05-10 08:45:21 -07:00
  • e0f1d58141 Add a README for the make test directiory Ronnie Sahlberg 2015-05-10 08:14:42 -07:00
  • d790209a8a TESTS: use TGTPORTAL instead of a hardcoded port Ronnie Sahlberg 2015-05-09 15:47:15 -07:00
  • 2170f656bc Merge branch 'master' of github.com:sahlberg/libiscsi Ronnie Sahlberg 2015-05-09 15:40:22 -07:00
  • 86ce6a0ccd TESTS: tgtd now had TGT_IPC_SOCKET so lets use it Ronnie Sahlberg 2015-05-09 15:39:45 -07:00
  • 64ead1c3df Merge pull request #164 from plieven/for_upstream Ronnie Sahlberg 2015-05-08 07:32:29 -07:00
  • 6aa47691ce pdu: add known execptions to target serial processing Peter Lieven 2015-05-08 12:47:34 +02:00
  • 9c58bf64f4 Merge pull request #163 from rodrigc/fix1 Ronnie Sahlberg 2015-05-07 06:32:14 -07:00
  • 3aec1a37a9 Skip unsupported tests instead of failing Craig Rodrigues 2015-05-07 07:04:56 -04:00
  • 6b51466048 Merge pull request #162 from plieven/for_upstream Ronnie Sahlberg 2015-05-05 06:19:17 -07:00
  • a027931a2c init: simplify the case that the freelist is full in iscsi_sfree Peter Lieven 2015-05-05 14:14:26 +02:00
  • b4098c535e init: make LIBISCSI_CACHE_ALLOCATIONS a public environment variable Peter Lieven 2015-05-05 14:10:44 +02:00
  • 724f44c31b socket: change the order of POLLIN and POLLOUT in iscsi_service Peter Lieven 2015-05-05 13:57:10 +02:00
  • e9d67540e1 add LIBISCSI_IGNORE_NOP_OUT_ON_STUCK_WAITPDU_QUEUE environment variable Peter Lieven 2015-05-04 17:00:08 +02:00
  • efcf602476 nop: print a warning if the oldest element in iscsi->waitpdu queue is stuck Peter Lieven 2015-05-04 16:41:40 +02:00
  • e7a90f7ecb test_sanitize_overwrite: Fix three log messages Bart Van Assche 2015-04-27 11:57:01 +02:00
  • 52a57d26f2 test-tool: Improve reliability of status_is_invalid_opcode() Bart Van Assche 2015-04-21 14:14:11 +02:00