Commit Graph

6 Commits

Author SHA1 Message Date
Ronnie Sahlberg
ca3ac9cafd TESTS: Improve error reporting for *beyondeol* tests
Beyondeol tests: Add missing checks for optional opcodes
to SKIP tests where the target does not implement the opcode.

Improve the error reporting and make sure we always show the Sense we
received from the target when we get an unexpected error.

Check the size of the LUN and skip the test for luns that are too big.
For example skip testing READ10 on LUNs > 2^31 blocks etc.
2012-09-10 08:38:21 -07:00
Paolo Bonzini
0abacf8fa4 test-tool: 0214 was reading twice from -1
It should read once from -1, once from 2^31.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2012-09-04 18:34:38 +02:00
Ronnie Sahlberg
f6705d4691 TESTS: Add tests for writing beyond the end of the LUN for WRITEVERIFY10/12/16 2012-07-14 10:54:15 +10:00
Ronnie Sahlberg
d908c1a642 TESTS: Improve the tests when reading from LBA -1
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2012-06-03 10:16:18 +10:00
Ronnie Sahlberg
288fd5e9fe TEST-TOOL: Add a --info argument to print more detailed infor what a test does
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2012-06-03 09:08:12 +10:00
Ronnie Sahlberg
9e303bf635 TEST: Add a test reading beyond the end of the device for read12/16 2012-05-02 21:38:43 +10:00