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
This commit is contained in:
Lee Duncan
2013-02-07 11:15:32 -08:00
committed by Ronnie Sahlberg
parent 49d1f87d17
commit 3f4bb80fd4
6 changed files with 122 additions and 2 deletions

View File

@@ -127,7 +127,6 @@ struct iscsi_pdu;
int (*local_iscsi_queue_pdu)(struct iscsi_context *iscsi, struct iscsi_pdu *pdu);
/*
* PGR support
*/
@@ -159,6 +158,9 @@ static inline int pr_type_is_all_registrants(
}
}
int prin_read_keys(struct iscsi_context *iscsi, int lun, struct scsi_task **tp,
struct scsi_persistent_reserve_in_read_keys **rkp);
int register_and_ignore(struct iscsi_context *iscsi, int lun,
unsigned long long key);
int register_key(struct iscsi_context *iscsi, int lun,