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