sahlberg/libiscsi — pull request #86 by sitsofe (2014-01-25 06:31:17+00:00)
Title: Update WRITESAME tests and fix a logging typo

Recent SBC spec detail how WRITESAME should fail when interacting with block limits. This patch adds acceptable failure conditions to the WRITESAME tests. I guess it could be argued it needs reworking to enforce a particular response in the WSNZ == 1 and NUMBER OF LOGICAL BLOCKS == 0 case but I think this patch will do for now.

Also fixed a typo in the WRITESAME16 logging output.