Add test coverage for `splice` and `tee` failure scenarios
Add test coverage for `splice` and `tee` failure scenarios

This patch adds 2 new tests for `swift.obj.diskfile.zero_copy_send`,
injecting a failure scenario when `tee` doesn't copy all bytes in one
go as it's expected to by the code, and one which tests whether the
code correctly trampolines when `splice` returns `EWOULDBLOCK`.

This was suggested by Paul Luse in review 135319 (for 2a0a8ae00f2), and
now covers code paths which were previously untested.

Change-Id: Ife84d772320d6214c93d8044feb613389f71e8da
See: https://review.openstack.org/#/c/135319/4/swift/common/splice.py,cm
See: 2a0a8ae00f2d3b7db255b0905b063e930f824f3d

daasbank/swift,dpgoetz/swift,openstack/swift,hbhdytf/mac,gold3bear/swift,clayg/swift,anishnarang/gswift,aerwin3/swift,smerritt/swift,openstack/swift,larsbutler/swift,williamthegrey/swift,williamthegrey/swift,nadeemsyed/swift,levythu/swift,bradleypj823/swift,AfonsoFGarcia/swift,IPVL/swift-kilo,prashanthpai/swift,Em-Pan/swift,psachin/swift,psachin/swift,redhat-openstack/swift,levythu/swift,redbo/swift,larsbutler/swift,nadeemsyed/swift,matthewoliver/swift,nadeemsyed/swift,Seagate/swift,matthewoliver/swift,redbo/swift,openstack/swift,iostackproject/IO-Bandwidth-Differentiation,mjzmjz/swift,mjzmjz/swift,bkolli/swift,revoer/keystone-8.0.0,nadeemsyed/swift,mjwtom/swift,hurricanerix/swift,Em-Pan/swift,dpgoetz/swift,clayg/swift,tipabu/swift,rackerlabs/swift,zackmdavis/swift,prashanthpai/swift,zackmdavis/swift,openstack/swift,notmyname/swift,clayg/swift,smerritt/swift,smerritt/swift,tipabu/swift,shibaniahegde/OpenStak_swift,hurricanerix/swift,hurricanerix/swift,bradleypj823/swift,hurricanerix/swift,maginatics/swift,Akanoa/swift,hbhdytf/mac2,hbhdytf/mac2,notmyname/swift,bkolli/swift,revoer/keystone-8.0.0,thiagodasilva/swift,bouncestorage/swift,psachin/swift,swiftstack/swift,tipabu/swift,hbhdytf/mac2,notmyname/swift,notmyname/swift,takeshineshiro/swift,eatbyte/Swift,mjwtom/swift,daasbank/swift,IPVL/swift-kilo,gold3bear/swift,matthewoliver/swift,eatbyte/Swift,bouncestorage/swift,wenhuizhang/swift,rackerlabs/swift,redhat-openstack/swift,Seagate/swift,tipabu/swift,swiftstack/swift,thiagodasilva/swift,hbhdytf/mac,wenhuizhang/swift,AfonsoFGarcia/swift,hbhdytf/mac2,Akanoa/swift,dencaval/swift,aerwin3/swift,maginatics/swift,takeshineshiro/swift,dencaval/swift,clayg/swift,iostackproject/IO-Bandwidth-Differentiation,psachin/swift,anishnarang/gswift,swiftstack/swift,matthewoliver/swift,smerritt/swift,shibaniahegde/OpenStak_swift