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
3c960c1d42
TESTS: Create helpers for VERIFY16 and switch all tests over to use them
2012-12-26 09:25:45 -08:00
Ronnie Sahlberg
61ad9b1972
TESTS: Create helpers for verify12 and switch all tests to use them
2012-12-25 16:14:45 -08:00
Ronnie Sahlberg
12179de245
TESTS: create helpers for VERIFY10 and switch all tests over to use it.
2012-12-25 15:48:11 -08:00
Ronnie Sahlberg
2afb5accc4
TESTS: Create helpers for PREFETCH16 and switch all tests over to them
2012-12-25 08:57:05 -08:00
Ronnie Sahlberg
047b650151
TEST: Add helpers for PREFETCH10 and convert all tests to use them
2012-12-25 08:31:30 -08:00
Ronnie Sahlberg
4ee24799ed
TESTS: Change all remaining uses of testunitready to use the new helper
2012-12-24 15:09:10 -08: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
Ronnie Sahlberg
b8e08a355d
TESTS: Add test for all media access commands that they fail correctly on ejected media
2012-07-18 08:03:29 +10:00