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
Pointed out by gcc: num_blocks is set but unused Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>