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
a6fc65b4ef
Tests: remove the warning if a SSD supports SANITIZE/OVERWRITE
...
There is technically no reason why a SSD with (assumingly with thin
provisioning) can not support SANITIZE/OVERWRITE instead or or in addition
to the more expected SANITIZE/BLOCK-ERASE so remove the warning for this.
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2016-05-01 12:35:29 -07: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
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
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
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
Bart Van Assche
e7a90f7ecb
test_sanitize_overwrite: Fix three log messages
...
check_lun_is_wiped() verifies whether the 256 blocks following LBA
'lba' contain byte value 'c'. Modify the log messages such that these
refer to byte value 'c' instead of to zero. Change the argument type
of 'c' from char into unsigned char to avoid that 'c' is sign
extended in the log statements.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
2015-04-27 19:19:30 -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
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
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
b2e3fc6e6f
TESTS: SANITIZE OVERWRITE add tests for OVERWRITE COUNT and INIT PATTERN LEN
2013-07-05 17:41:32 -07:00
Ronnie Sahlberg
12a7d2f60d
TEST: update SANITIZE test output
2013-06-02 16:37:56 -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
Ronnie Sahlberg
58dde352f1
Update SANITIZE OVERWRITE tests, test one block/half block and 4 byte
...
initialization pattern.
2013-05-26 15:51:46 -07:00
Ronnie Sahlberg
e5e8d7e3ef
TESTS: Add a simple test for SANITIZE OVERWRITE
2013-05-26 11:48:45 -07:00