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
8a44851128
Tests: Add a helper for the all_zero checker
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2016-02-23 19:26:15 -08: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
5a80c7b581
Fix some clang warnings
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2016-02-21 16:13:53 -08:00
Ronnie Sahlberg
05fb882e19
Tests: add getlbastatus helper
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2016-02-21 15:50:58 -08:00
Ronnie Sahlberg
c48283fe75
Tests: add helpers for read*
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2016-02-21 15:45:23 -08:00
Ronnie Sahlberg
69f4dc76ca
Tests: Convert remaining write16 to new helpers
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2016-02-21 15:40:32 -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
72cfdbb5f1
Tests: Make null pointer asserts abort the test
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2016-02-21 14:55: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
2d412530c1
test-tool: Move all_zeroes() helper function to iscsi-support.c
...
This patch does not change any functionality.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
2015-10-07 07:44:18 -07:00
Ronnie Sahlberg
811c04f01a
TESTS: read12/read16 change signature to return an optional task structure
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2015-05-12 20:25:04 -07:00
Ronnie Sahlberg
8ac7d64082
TESTS: convert most of SANITIZE to new saner api
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2014-10-14 19:25:17 -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
832d88797a
TESTS: remove the read10_task helper
...
Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
2014-09-18 14:07:22 -07:00
Ronnie Sahlberg
9e75b10103
TESTS: change get_lba_status to new api
...
Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
2014-09-18 14:07:22 -07:00
Ronnie Sahlberg
28b0a0ab11
TESTS: update the READ tests to the new API
...
Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
2014-09-18 13:12:58 -07:00
Ronnie Sahlberg
8ffd78c117
temp: redo the write10/12/16 commands to the new saner api
...
Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
2014-09-18 12:07:57 -07: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
6e5a5745aa
TESTS: Add a test that SANITIZE commands fail when there is a RESERVATION
2013-07-09 01:51:00 -07:00
Ronnie Sahlberg
03ce9dc4b1
TESTS: Verify that SANITIZE does wipe the data
2013-07-05 20:15:52 -07:00
Ronnie Sahlberg
b1983aeec1
TESTS: UNMAP make sure we read the blocks back as 0 after unmap
2013-07-05 19:34:56 -07:00
Ronnie Sahlberg
705bc27ed5
TESTS: Verify that WACEREQ is 0 if SANITIZE CRYPTO ERASE is not supported
2013-07-05 16:43:28 -07:00
Ronnie Sahlberg
6a65874dd9
TESTS: Add helper function for READ10 that returns a task*
2013-07-05 16:14:21 -07:00
Ronnie Sahlberg
d8d10c0a44
TESTS: Sanitize check that after block erase all blocks are unmapped
2013-07-05 16:04:29 -07:00
Ronnie Sahlberg
e3a29c0fed
TESTS:SANITIZE verify that if BLOCK_ERASE is available we have LBPME==1
2013-07-05 14:52:51 -07:00
Ronnie Sahlberg
3edd40953e
TESTS: SANITIZE, Add tests for WABEREQ/WACEREQ
2013-07-05 14:25:43 -07:00
Ronnie Sahlberg
12a7d2f60d
TEST: update SANITIZE test output
2013-06-02 16:37:56 -07:00
Ronnie Sahlberg
dd44a62994
typo
2013-06-01 09:02:04 -07:00
Ronnie Sahlberg
44e64fb8cf
TESTS: SANITIZE. Produce warnings if WABEREQ does not match BLOCK ERASE support status
2013-06-01 08:59:37 -07:00
Ronnie Sahlberg
804ab643a3
TESTS: SANITIZE tests. Print additional warnings.
...
If SANITIZE is supported but we dont have the BlockDeviceCharacteristics
page we produce a warning.
If OVERWRITE is supported on SSDs we warn.
If BLOCK ERASE is supported on HDDs we warn.
2013-06-01 08:53:54 -07:00
Ronnie Sahlberg
b193e08be8
Tests: Update the SANITIZE tests
2013-05-26 19:36:35 -07:00