Ronnie Sahlberg
5135836ee5
TESTS: keep the unmarshalled std inq structure around
2013-05-11 17:07:59 -07:00
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
4ee24799ed
TESTS: Change all remaining uses of testunitready to use the new helper
2012-12-24 15:09:10 -08: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
d8ed7d4053
TESTS, After a target/lun reset, wait until the lun stabilizes before continuing the tests
2012-07-21 12:26:24 +10:00
Ronnie Sahlberg
ca046ab342
TEST: add a test that a Cold Reset will clear PREVENTALLOW
2012-07-21 11:59:34 +10:00