Ronnie Sahlberg
0f73f062d2
SCSI: remove LBDATA/PBDATA from the WriteSame10/16 signatures
...
Make LBA the third argument to the iscsi writesame functions
2013-01-21 21:15:37 -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
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
Ronnie Sahlberg
09573068ad
TESTS: Skipped tests should return -2
2012-08-31 14:19:11 -07:00
Ronnie Sahlberg
4df1525415
TESTS: Additional checks for missing opcodes and skipping tests
2012-08-31 11:42:44 -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
1f40de8858
compiler warnings
2012-07-15 08:13:40 +10:00
Ronnie Sahlberg
e7c8a173ab
Add tests for the WRPROTECT bits for WRITESAME10/16
2012-06-23 21:40:58 +10:00