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
ea8e4c4115
Tests: add helper for TESTUNITREADY
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2016-02-21 15:51:11 -08:00
Ronnie Sahlberg
23a9278e23
Tests: Add helpers fro preventallow/startstopunit
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2016-02-21 15:49:22 -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
4f55a3f5c3
test/preventallow: use multipath session if available
...
This test currently reconnects 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:53:31 +02: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
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
Ronnie Sahlberg
3ee3964332
TESTS: change testunitready to new api
...
Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
2014-09-18 14:07:21 -07:00
Ronnie Sahlberg
f1d198c684
TESTS: update startstopunit to use new api
...
Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
2014-09-18 13:12:58 -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
Ronnie Sahlberg
ad0b14e833
TEST: Add a test to verify PREVENT REMOVALs are seen across all nexuses
2013-03-03 13:44:16 -08:00