Commit Graph

8 Commits

Author SHA1 Message Date
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
b9c516147a TESTS: Add helpers for testunitready. Change 0000 and 0360 to use new testunitready helpers 2012-12-23 20:49:38 -08:00
Ronnie Sahlberg
8a9970069f TESTS: STARTSTOPUNIT expand the basic tests to cover both immed==0 and immed==1
Expand the test to cover IMMED==0 as well as IMMED==1 to try to eject and load
removable media
2012-09-10 21:34:35 -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
db68e68f6d TEST: add simple test for STARTSTOPUNIT 2012-07-16 21:06:52 +10:00