Commit Graph

8 Commits

Author SHA1 Message Date
Ronnie Sahlberg
116af01156 TYPO: Change periperal_device_type to just device_type
but leave the old name as a define for backward compatibility
2012-09-03 09:45:59 -07:00
Ronnie Sahlberg
77fc2497f7 TESTS: Change all tests to use 'block_size' instead of hardcoded 512
This should allow the testst to work corectly on block devices with 4k blocksize too.
2012-09-03 08:58:56 -07:00
Ronnie Sahlberg
c526b9e954 TESTS: remove compiler warnings 2012-08-31 15:26:23 -07:00
Paolo Bonzini
e4377e7d91 iscsi-test: return -2 when skipping tests
This lets a test driver distinguish failure from skipping unsupported
tests.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2012-08-30 17:39:00 +02:00
Paolo Bonzini
f04471d642 iscsi-test: do not test read-only for non-SBC devices
The device-specific parameter is not defined in MMC.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2012-08-30 17:38:05 +02:00
Ronnie Sahlberg
67f4ceca6b Add COMPAREANDWRITE and ORWRITE to the readonly tests 2012-07-14 17:55:10 +10:00
Ronnie Sahlberg
bae5ce4c14 TESTS: Add test that WRITEVERIFY* fails if the device is write-protected 2012-07-14 08:24:19 +10:00
Ronnie Sahlberg
eaff5a4e4e TESTS: Add a test that write/unmap fails on read-only devices 2012-07-13 10:04:42 +10:00