TESTS: Add tests that get_lba_status for a single range works
Add a test for unmapping a single range of blocks and that get_lba_status returns correct data. Test unmapping a single block at offsets 0-255 Test unmapping 1-255 blocks at offset 0 and verify that get_lba_status at LBA 0 returns a descriptor of 1-255 blocks. get_lba_status at the last block of the unmapped range returns a descriptor for a single block. Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
@@ -18,6 +18,7 @@ iscsi_test_cu_SOURCES = iscsi-test-cu.c \
|
||||
test_compareandwrite_miscompare.c \
|
||||
test_get_lba_status_simple.c \
|
||||
test_get_lba_status_beyond_eol.c \
|
||||
test_get_lba_status_unmap_single.c \
|
||||
test_inquiry_alloc_length.c \
|
||||
test_inquiry_block_limits.c \
|
||||
test_inquiry_evpd.c \
|
||||
|
||||
Reference in New Issue
Block a user