Commit Graph

8 Commits

Author SHA1 Message Date
Ronnie Sahlberg
ee689ee3fb TESTS: Update the protection tests 2013-05-12 08:06:08 -07:00
Ronnie Sahlberg
3a4605d3e5 TESTS: Remove some READCAPACITY16 we no longer need 2012-12-27 07:04:23 -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
Paolo Bonzini
d155231341 test-tool: 0171 is using different 0-block semantics than other tests
0171 is expecting a 0-block unmap at end-of-volume (i.e. start block
one beyond what READ CAPACITY returns) to pass, while every other 0blocks
test is expecting that address to be invalid.
2012-09-06 16:58:21 +02: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
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
521f0a5a95 TEST: Add a test of various uses for UNMAP but no blocks to actually unmap. 2012-04-22 08:46:14 +10:00