Merge pull request #58 from plieven/upstream_fixes

Upstream fixes
Removing useless debug print message

parent c1722f5faceb52560fa19ad162694865a408d742 (1.7.0-236-gc1722f5)
commit df665e940aba51dbc6b1e7040bda476d66b6584f
Author: Lee Duncan <lduncan@suse.de>
Date:   Wed Feb 6 13:39:24 2013 -0800

Removing useless debug print message
Clean up comment and usage message

parent df665e940aba51dbc6b1e7040bda476d66b6584f (1.7.0-237-gdf665e9)
commit 93fd84ab52bc56f889dbd7970345d205ce03f958
Author: Lee Duncan <lduncan@suse.de>
Date:   Wed Feb 6 13:41:39 2013 -0800

Clean up comment and usage message
Converted first PGR test to new CUnit format

Here's the patch that really adds the new test ... plz let me know if I did this incorrectly.
---------------------------------------------------------------
parent 93fd84ab52bc56f889dbd7970345d205ce03f958 (1.7.0-238-g93fd84a)
commit c5aa45226d054389280b763ce5754c5fa647b05c
Author: Lee Duncan <lduncan@suse.de>
Date:   Wed Feb 6 13:43:08 2013 -0800

Converted first PGR test to new CUnit format
TESTS: Keep the tests listed in alphabetical order for the opcodes
TEST: Add simple test for GET_LBA_STATUS
Added printf format checking to logging function.

This also required changing the logging of "" at the
start of each test to appeal the otherwise-friendly
compiler.
Fixup the get-lba-status tests
Renamed group reservation routines with prin_*/prout_*

Renamed group reservation helper functions with prin_* or prout_*,
making it more clear what they are doing.
Cleaned up prin_read_keys since task always passed in

Cleaned up prin_read_keys() to assume task is always
passed in, since that is the case.
Added dataloss checks for prout_* functions

Added "--data-loss" check for prout_*() functions.
group reservation tests logging and cleanup

Converted group reservation functions to use loggin(), and
cleaned up those functions a little as well.
ported 3 more group reservation tests to CUnit

Ported 3 more group reservation tests to new the CUnit format.
ported group reservation access control test to CUnit

Ported group reservation access control test to CUnit format.
This is the final group reservation test to be ported.
TESTS: Add beyond eol test for GET_LBA_STATUS
TESTS: Add tests that medium changing commands fail for readonly devices
TESTS: Add tests for WRITEVERIFY10/12/16
Add ASCQ code for CAPACITY_DATA_HAS_CHANGED
TESTS: Add tests for ORWRITE
TEST: Add ORWRITE test to the READONLY device test