David Disseldorp
e716691a45
test-tool: use CHECK_FOR_ISCSI() helper macro
...
This removes a large amount of boilerplate code.
Signed-off-by: David Disseldorp <ddiss@suse.de >
2019-09-22 16:40:13 +02:00
Tim Crawford
9347cfebf2
Replace file variables with .dir-locals.el
...
Signed-off-by: Tim Crawford <tcrawford@datto.com >
2019-02-21 11:54:02 -05:00
Ronnie Sahlberg
b4320bd76c
Tests: convert tabs to 8 spaces
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2016-02-21 16:17:18 -08:00
Ronnie Sahlberg
9afd4a4412
Test: add helpers for reserve6/release6
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2016-02-21 15:36:18 -08:00
Ronnie Sahlberg
39d128db6d
Tests: Add helpers for SANITIZE
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2016-02-21 15:34:54 -08:00
Ronnie Sahlberg
99a5f99527
Add some emacs defaults. Tabs are 8 spaces.
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2016-02-18 21:34:43 -08:00
Bart Van Assche
e9536d3333
test-tool: Avoid that login failure causes a segmentation fault
...
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
2015-12-24 08:54:40 -08:00
David Disseldorp
69d9a77f14
test/sanitize: use multipath session if available
...
These tests currently reconnect to the base sd for multi-initiator
testing. Use the secondary multipath device instead, if available.
Signed-off-by: David Disseldorp <ddiss@suse.de >
2015-09-21 15:52:40 +02:00
Craig Rodrigues
7fe7891e84
reserve6 tests: fix login parameters
2015-06-03 20:23:09 +00:00
Bart Van Assche
dbc4e33db2
test-tool: Fix a few sporadic crashes
...
Avoid that Valgrind reports complaints similar to the following:
Conditional jump or move depends on uninitialised value(s)
at 0x405097: send_scsi_command (iscsi-support.c:240)
by 0x40904B: reserve6_conflict (iscsi-support.c:1915)
by 0x42231C: test_reserve6_logout (test_reserve6_logout.c:63)
by 0x503EC99: ??? (in /usr/lib/libcunit.so.1.0.1)
by 0x503EF27: ??? (in /usr/lib/libcunit.so.1.0.1)
by 0x503F2A5: CU_run_all_tests (in /usr/lib/libcunit.so.1.0.1)
by 0x404B43: main (iscsi-test-cu.c:1292)
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
2015-04-09 19:56:19 -07:00
Ronnie Sahlberg
58f06b0e74
TESTS: get rid of a sanitize helper
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2014-10-14 19:39:27 -07:00
Ronnie Sahlberg
45d87238e2
TESTS: Flag a whole bunch of tests as not supported on non-iSCSI backends
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2014-09-27 08:58:24 -07:00
Ronnie Sahlberg
072291c852
TESTS: change the function signatures for the helpers
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2014-09-18 18:19:04 -07:00
Ronnie Sahlberg
9b768f7de9
TESTS: move the default url, lun and iscsi context into a structure
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2014-09-18 16:42:45 -07:00
Sitsofe Wheeler
69867d23a8
Fix incorrect second initiator
...
Use the second initiator name in all files found by
ack "iscsic2 = "
2013-09-25 23:05:01 +01:00
Edward Tomasz Napierala
f9d4c742a2
Replace alloca.h with stdlib.h; the former doesn't exist on FreeBSD.
2013-09-23 11:34:06 +02:00
Ronnie Sahlberg
a3283fbafd
TESTS: Add a test that SANITIZE fails when SWP is on.
2013-07-09 02:27:30 -07:00
Ronnie Sahlberg
6e5a5745aa
TESTS: Add a test that SANITIZE commands fail when there is a RESERVATION
2013-07-09 01:51:00 -07:00