Commit Graph

570 Commits

Author SHA1 Message Date
Ronnie Sahlberg 521f0a5a95 TEST: Add a test of various uses for UNMAP but no blocks to actually unmap. 2012-04-22 08:46:14 +10:00
Ronnie Sahlberg dd5f94b2ca Add support for UNMAP command and add a simple test for this opcode 2012-04-22 08:09:15 +10:00
Ronnie Sahlberg 86bf89aabf Add support for READCAPACITY16
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2012-04-20 17:56:39 +10:00
Ronnie Sahlberg a5d81fc16a fix some compiler warnings 2012-03-10 12:08:05 +11:00
Ronnie Sahlberg 2b521b4d24 TEST-TOOL: add test for read16/rdprotect 2012-02-05 07:56:35 +11:00
Ronnie Sahlberg b4573178ca TEST-TOOL: Add test for read12/rdprotect 2012-02-05 07:52:30 +11:00
Ronnie Sahlberg 0a0dfc4d65 TEST-TOOL: only do the read10 rdprotect test for SBC devices 2012-02-05 07:39:10 +11:00
Ronnie Sahlberg 32ba166040 TEST-TOOL: READ10 with invalid rdprotect should fail with invalid_field_in_cdb 2012-02-05 07:35:33 +11:00
Ronnie Sahlberg 5c273ca58c Add VERIFY10 test for BYTCHK==0
If BYTCHK is zero  the target should NOT perform a compare of data in buffer with data on media, so if we send knowingly bad data to compare with
the target shall not detect the miscompare but return sgtatus good.
2012-01-27 16:35:23 +11:00
Ronnie Sahlberg 62684d641a Add a test to check that if we deliberately send wrong data to the target it will reposnd with sense MISMATCH
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2012-01-26 16:18:05 +11:00
Ronnie Sahlberg cff996a96d VERIFY10: Add support for VERIFY10. Also add a simple test for verify10 2012-01-26 15:47:14 +11:00
Paolo Bonzini 17319072b1 use automake and libtool
This commits replaces the handwritten makefile with automake+libtool.
There is some hackery needed for the LD_PRELOAD shared library,
but apart from that there is nothing special and it is a large gain in
portability and standardization.

The spec file is modified as little as is needed to properly build
the RPMs.
2011-10-28 17:04:59 +02:00
Ronnie Sahlberg 8bc4150e31 Fix typo in a printed string 2011-04-22 12:23:53 +10:00
Ronnie Sahlberg 9aaf1e5de4 Add tests for invalid READ6 commands 2011-04-22 12:03:51 +10:00
Ronnie Sahlberg 2838e6f6ac Add tests for reading beyong eol for READ6 2011-04-22 11:41:33 +10:00
Ronnie Sahlberg acc2871ab0 Fix the 4 residual tests for read10 2011-04-18 17:38:50 +10:00
Ronnie Sahlberg ea6079d953 run all tests in t0105 even if one of the tests fail 2011-04-18 12:49:14 +10:00
Ronnie Sahlberg 8007398b9b Add a few more tests of READ10 with a mismatch between the amount of data
specified in the CDB XFERLENGTH and the iSCSI EDTL
2011-04-17 06:50:20 +10:00
Ronnie Sahlberg 51ef550414 Add -f to rm when cleaning up to get rid of error message when running make clean twice 2011-04-16 16:49:10 +10:00
Ronnie Sahlberg a1715ae21a Add a simple SCSI test tool.
For now focused on SBC but should be enhanced to cover other commandsets too
2011-04-16 16:47:38 +10:00