Ronnie Sahlberg
91155c42e4
TESTS: Read standard inq page before we spawn the tests
...
We dont need to call inq so often from the tests if we read the standard page once before the tests begin
2012-12-27 11:47:34 -08:00
Ronnie Sahlberg
5ad957b873
TESTS: Start fixing up the tests so we can test-suite them properly
...
Dont call READCAPACITY from every single test.
Remove two arguments from the test signatures and turn them into globals.
remove the ret++ silliness. Tests return 0 : all ok, -2, skipped or -1 : test failed
2012-12-26 18:34:12 -08:00
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
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
418058e52a
iscsi-test: do not test DPO/FUA for non-SBC devices
...
These bits are not defined in MMC.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2012-08-30 17:37:53 +02: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
33a398f21c
TESTS Add basic tests for write12/16
2012-05-02 23:15:41 +10:00