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 complains about an unused parameter (mark it as such) and unused labels (remove 'em). Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>