Commit Graph

  • ea790b2f75 AUTOTOOLS: Add Makefile.am to test-tool Ronnie Sahlberg 2014-03-22 16:46:25 -07:00
  • c07779cfa7 AUTOTOOLS: Add a Makefile.am for the iscsi-* utilities Ronnie Sahlberg 2014-03-22 11:35:58 -07:00
  • 65d3597c1b AUTOTOOLS: Create Makefile.am for lib Ronnie Sahlberg 2014-03-22 11:23:48 -07:00
  • 5500f84402 AUTOTOOLS: Create a separate Makefile.am for the docs directory Ronnie Sahlberg 2014-03-22 10:32:59 -07:00
  • 7d1f7a5308 DOCS: Add configure --enable-manpages which controls whether to build the manpages or not Ronnie Sahlberg 2014-03-22 09:33:16 -07:00
  • b1d82d7cb1 DOCS: Use a default build rule for the manpages Ronnie Sahlberg 2014-03-22 08:58:57 -07:00
  • a988035451 DOCS: Add the generated manpages to the repository Ronnie Sahlberg 2014-03-22 08:47:57 -07:00
  • 3032255d0c DOCS: Dont reference the samba doctypes. Ronnie Sahlberg 2014-03-21 16:39:54 -07:00
  • 2ca4574462 Merge pull request #97 from jh86/master Ronnie Sahlberg 2014-03-18 06:31:37 -07:00
  • 16e448e945 correct some grammar, spelling, acronyms, conventions, wrap to 80 chars where possible Jon Hermansen 2014-03-18 00:19:45 -07:00
  • 483398c605 Merge branch 'master' of github.com:sahlberg/libiscsi Ronnie Sahlberg 2014-03-15 08:45:56 -07:00
  • e8545d6a03 verify1[02]_invalidfieldincdb(): Fix an error message Bart Van Assche 2014-03-15 16:30:33 +01:00
  • b33fa30a28 Merge pull request #96 from jh86/master Ronnie Sahlberg 2014-03-13 13:56:30 -07:00
  • b16709ccd8 update README to describe new XML output mode Jon Hermansen 2014-03-13 11:58:26 -07:00
  • e216e032af Merge pull request #95 from jh86/master Ronnie Sahlberg 2014-03-12 05:59:13 -07:00
  • d34d61a782 add automated XML output option to iscsi-test-cu Jon Hermansen 2014-03-11 16:15:19 -07:00
  • 75769ec286 Merge pull request #94 from jh86/master Ronnie Sahlberg 2014-03-11 12:22:41 -07:00
  • d348633763 fix capacity checks in READ(6) tests Jon Hermansen 2014-03-11 10:44:54 -07:00
  • 270db13f7c TESTS: Warn not fail if inquiry descriptors do not contain SPC* or SBC* Ronnie Sahlberg 2014-03-06 20:30:00 -08:00
  • b0dbecaff7 TESTS: compare and write: Invalidfieldincdb is illegal-request, not miscompare Ronnie Sahlberg 2014-03-06 17:30:46 -08:00
  • 879f542ebf TESTS: CompareAndWrite are bounded by the max block setting in BlockLimits Ronnie Sahlberg 2014-03-05 18:47:24 -08:00
  • fc91b41b5a TESTS: Clear iscsi_local_iscsi_queue_pdy pointer before we return from the test. Ronnie Sahlberg 2014-03-03 17:25:24 -08:00
  • dbc9ffb5cb TESTS: ReportSupportedOpcodes return the opcode itself as data[0], not 0xff Ronnie Sahlberg 2014-02-24 19:04:58 -08:00
  • 0236395709 Run configure --prefix=/usr during makerpms.sh Ronnie Sahlberg 2014-02-11 19:40:38 -08:00
  • 20b25b9088 Make sure the rpm build directories exist before we try copying into them. Ronnie Sahlberg 2014-02-10 19:53:36 -08:00
  • 3e00541fae Create RPM target for the testsuite Ronnie Sahlberg 2014-02-09 18:15:12 -08:00
  • 0c82fa1a13 Update README with more clear description of the libcunit dependency for iscsi-test-cu Ronnie Sahlberg 2014-02-02 15:37:08 -08:00
  • f7a21d1dcd Add iscsi-swp +manpage to the rpm build Ronnie Sahlberg 2014-02-02 08:42:26 -08:00
  • cc81b67620 TESTS: Add tests for invalid iSCSI DATASN values. Ronnie Sahlberg 2014-01-26 09:35:17 -08:00
  • 5eb9d8750b Merge pull request #87 from sitsofe/oldtests Ronnie Sahlberg 2014-01-26 08:25:49 -08:00
  • 99be69a08f Merge pull request #86 from sitsofe/writesame Ronnie Sahlberg 2014-01-26 08:25:15 -08:00
  • b42a6ede19 OLD TESTS: Fix use after free in unsolicited_[non]immediate_data tests. Sitsofe Wheeler 2014-01-25 08:47:49 +00:00
  • e1659b1973 TESTS: Fix WRITESAME tests to handle targets that don't like datalen == 0 Sitsofe Wheeler 2014-01-14 11:53:04 +00:00
  • 38ba5b6c0e Fix logging typo. Sitsofe Wheeler 2014-01-14 09:53:10 +00:00
  • 0fbe47c1bd Merge pull request #85 from vn516726/master Ronnie Sahlberg 2014-01-23 19:56:23 -08:00
  • 262ac3b5c6 Corrected the log vn516726 2014-01-24 11:39:25 +08:00
  • 354f00fd4f Discovery: Create a list of portals for each discovered target. Ronnie Sahlberg 2014-01-15 19:37:40 -08:00
  • 25078d0d91 Old TESTS: Abort 0180 thin provisioning test early if the LUN does not have LBPME enabled Ronnie Sahlberg 2014-01-06 18:36:48 -08:00
  • 993be6c439 Free the correct inq task to avoid leaking memory during startup. Ronnie Sahlberg 2014-01-06 18:26:03 -08:00
  • 0a7d1407f0 Fix a segfault in the old T0184 WS10 test Ronnie Sahlberg 2014-01-06 18:23:04 -08:00
  • 448f470d4a Set SOCURRENT/REVISION/AGE manually from Makefile.am Ronnie Sahlberg 2013-12-24 13:14:48 -08:00
  • b58b61cb37 Add some missing files to 'make dist' Ronnie Sahlberg 2013-12-16 18:42:48 -08:00
  • 52e1a8c14f Remove the generated manpages on make clean Ronnie Sahlberg 2013-12-16 18:31:45 -08:00
  • 120b308741 Spelling fixes: Dont => Don't Michael Tokarev 2013-12-15 20:42:16 +04:00
  • c606dd50f9 Merge pull request #84 from bonzini/master Ronnie Sahlberg 2013-12-16 18:16:34 -08:00
  • 34b93c4cfd fix CHAP authentication Paolo Bonzini 2013-12-12 17:04:55 +01:00
  • 78e49f1427 Coding style update Ronnie Sahlberg 2013-11-05 17:59:55 -08:00
  • e59c336450 Use <ptr> == NULL instead of !<ptr> Ronnie Sahlberg 2013-11-05 17:53:10 -08:00
  • 94d73fc937 Merge pull request #83 from bonzini/coverity Ronnie Sahlberg 2013-11-05 06:51:06 -08:00
  • 87ee645621 check for a target being there before processing TargetAddress Paolo Bonzini 2013-11-05 14:24:28 +01:00
  • bfde497565 rework login and discovery code to avoid strlen beyond end of data Paolo Bonzini 2013-11-05 14:23:58 +01:00
  • bb0e59055a handle bad iscsi->fd in iscsi_service Paolo Bonzini 2013-11-05 14:21:45 +01:00
  • fce94c81a3 do not test arrays against NULL Paolo Bonzini 2013-11-05 14:20:24 +01:00
  • dbaa0b4ea6 exit after malloc failure when allocating sense data blob Paolo Bonzini 2013-11-05 14:20:01 +01:00
  • 1acce4a948 log failures (typically malloc) of iscsi_create_context during reconnect Paolo Bonzini 2013-11-05 14:18:51 +01:00
  • c3e8d0c945 reconnect: do not initialize iscsi to old_iscsi, use old_iscsi if appropriate Paolo Bonzini 2013-11-05 14:18:07 +01:00
  • f08e68e52a Merge pull request #77 from sitsofe/read6 Ronnie Sahlberg 2013-11-03 16:39:21 -08:00
  • 43f0926566 Merge pull request #82 from plieven/master Ronnie Sahlberg 2013-11-03 16:35:38 -08:00
  • 29f3d33944 test-tool/0184_writesame10_0blocks.c: Include WSNZ bit in test Bart Van Assche 2013-10-14 19:55:24 +02:00
  • 08ed1c2aea Add two additional READ16-beyond-eol tests Bart Van Assche 2013-06-08 11:09:36 +02:00
  • ba8a8d0a4e test tool: Fix a memory leak in test_reserve6_lun_reset.c Bart Van Assche 2013-10-20 20:02:58 +02:00
  • b6b49e4a66 test tool: Fix memory leaks in test setup and teardown functions Bart Van Assche 2013-10-21 11:54:38 +02:00
  • a1f32527d5 test tool: Fix a memory leak in test-tool/test_reserve6_logout.c Bart Van Assche 2013-10-21 11:48:37 +02:00
  • d6ecafa6f5 test tool: Fix a memory leak in test_preventallow_logout.c Bart Van Assche 2013-10-20 17:26:19 +02:00
  • 9c7092e85c test tool: Fix a memory leak in testunitready_clear_ua() Bart Van Assche 2013-10-20 14:58:56 +02:00
  • 9f89f220f5 test tool, WRITESAME(16) UNMAP test: Avoid leaking 'buf' if a precondition fails Bart Van Assche 2013-10-21 11:52:57 +02:00
  • 64e800a437 test tool, RESERVE(6) tests: Avoid leaking 'iscsi2' Bart Van Assche 2013-09-29 20:28:05 +02:00
  • 3fdc3f2327 lib: Fix a memory leak in scsi_cdb_persistent_reserve_out() Bart Van Assche 2013-10-20 14:33:48 +02:00
  • afa076b537 lib: Make scsi_free_scsi_task() accept a NULL task pointer Bart Van Assche 2013-10-21 12:35:48 +02:00
  • 91380889d4 introduce LIBISCSI_API_VERSION Peter Lieven 2013-10-22 12:18:14 +02:00
  • f6a52d11c0 New version 1.10 Ronnie Sahlberg 2013-10-20 16:54:35 -07:00
  • ccacae482f Merge branch 'master' of github.com:sahlberg/libiscsi Ronnie Sahlberg 2013-10-14 06:16:31 -07:00
  • 1f4ebc7771 Merge pull request #81 from trasz/master Ronnie Sahlberg 2013-10-14 06:16:12 -07:00
  • dd1ca33094 Freebsd build fixes. Edward Tomasz Napierala 2013-10-13 15:35:00 +02:00
  • 1daddebdb2 Merge remote-tracking branch 'upstream/master' Edward Tomasz Napierala 2013-10-13 15:28:52 +02:00
  • 5f46119899 Fix segv. Edward Tomasz Napierala 2013-10-12 23:51:16 +02:00
  • fe72f69dfd We dont need _snprintf_s since we have a compatibility function for windows Ronnie Sahlberg 2013-10-05 21:05:42 -07:00
  • dfdf2091d4 typo Ronnie Sahlberg 2013-10-05 17:25:06 -07:00
  • 305d6e1644 Get rid of a lot of WIN32 ifdefs by providing a compatibility function instead Ronnie Sahlberg 2013-10-05 17:23:46 -07:00
  • eec84c2805 Add PowerOnOccured as a sense code we allow and ignore during connect Ronnie Sahlberg 2013-10-05 17:06:21 -07:00
  • bca9e3d022 We don't have __attribute__ on visual studio Ronnie Sahlberg 2013-10-05 15:39:09 -07:00
  • d7b7c7727a Fix win32 so it works again Ronnie Sahlberg 2013-10-05 15:34:56 -07:00
  • 27b82512d5 Remove 'inline'. Some compilers do not support it. Ronnie Sahlberg 2013-10-05 13:50:55 -07:00
  • 1828481ba2 Portability fixes. Declare variables at the start of a scope only. Ronnie Sahlberg 2013-10-05 13:48:00 -07:00
  • 720e426c92 Always declare variables at the start of a new scope. Ronnie Sahlberg 2013-10-05 13:43:10 -07:00
  • 8c87941b00 Don't use variadic macros of the form args... This is a GCC extension and is not portable. Ronnie Sahlberg 2013-10-05 13:36:02 -07:00
  • e5ba667cea test_writesame16_unmap: Do not leak memory if WRITESAME16 is not supported Bart Van Assche 2013-09-29 21:06:29 +02:00
  • 1337185fe9 test_read6_simple: Avoid triggering a use-after-free Bart Van Assche 2013-09-29 21:05:37 +02:00
  • 4653cd8df4 iscsi_reconnect: Fix a use-after-free Bart Van Assche 2013-09-29 21:04:48 +02:00
  • bd948c959e Port to CUnit version 2 Bart Van Assche 2013-09-28 21:04:51 +02:00
  • 766d92221c Reconnect: recalculate the header digest when we re-queue after a reconnect Ronnie Sahlberg 2013-09-26 18:26:29 -07:00
  • 286df50244 Add more status codes : CONDITIONS_MET/TASK_SET_FULL/ACA_ACTIVE/TASK_ABORTED Ronnie Sahlberg 2013-09-25 20:26:00 -07:00
  • 99d7107ada Merge pull request #80 from sitsofe/initiator2 Ronnie Sahlberg 2013-09-25 19:23:09 -07:00
  • 69867d23a8 Fix incorrect second initiator Sitsofe Wheeler 2013-09-03 12:44:28 +01:00
  • 8aa6d9de8f TESTS: Add a test for COMPARE_AND_WRITE when the data to verify does not match Ronnie Sahlberg 2013-09-23 21:58:55 -07:00
  • e7c7a99ede Merge pull request #79 from trasz/master Ronnie Sahlberg 2013-09-23 07:28:00 -07:00
  • ae298ec940 Fix test to actually do what the comment says and send too low CmdSN. Edward Tomasz Napierala 2013-09-23 13:14:43 +02:00
  • f9d4c742a2 Replace alloca.h with stdlib.h; the former doesn't exist on FreeBSD. Edward Tomasz Napierala 2013-09-23 11:34:06 +02:00
  • a9b75b96a3 SCSI: Add definitions for some more 0x29xx ASCQs Ronnie Sahlberg 2013-09-22 17:09:11 -07:00
  • 9f1a28f753 TESTS: Add an initial simple test for COMPARE_AND_WRITE Ronnie Sahlberg 2013-09-22 17:02:30 -07:00