Chris Zankel
de512a5888
test_unmap_0blocks: skip multi-descriptor test if unsupported
...
Some targets only support a single descriptor for unmap operations,
so skip (CU_PASS) the test cases that use multiple descriptors in
those cases. Only run the tests if maximum_unmap_block_descriptor_count
is less than 2.
Also the test
"Test UNMAP of 0 blocks at LBA:0-255 with one descriptor per block")
was passing one less descriptor.
Signed-off-by: Chris Zankel <chris@zankel.net >
2015-04-23 17:39:49 -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
398f03205d
TESTS: update unmap to new api
...
Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
2014-09-18 14:07:22 -07:00
Lee Duncan
990af4a427
Added printf format checking to logging function.
...
This also required changing the logging of "" at the
start of each test to appeal the otherwise-friendly
compiler.
2013-02-13 18:04:51 -08:00
Ronnie Sahlberg
9bf6a3d68b
UNMAP test, add subtest for no-descriptor at all
2013-01-21 20:36:04 -08:00
Ronnie Sahlberg
27f46c862f
TEST: Add one more 0-block subtest for UNMAP
2013-01-21 20:30:06 -08:00
Ronnie Sahlberg
bfbde8b097
TEST: Add test for 0 blocks for UNMAP and fix num_blocks which was off by one
...
across the testsuite
2013-01-21 20:20:46 -08:00