commit | ce1239977fc3708394386d3e3241bfb228449908 | [log] [tgz] |
---|---|---|
author | Xiao Yang <yangx.jy@cn.fujitsu.com> | Tue Dec 29 18:20:31 2015 +0800 |
committer | Cyril Hrubis <chrubis@suse.cz> | Tue Jan 26 17:31:29 2016 +0100 |
tree | 7d3d19c1ec1ea4398c0d22718dbed2dc386a03ca | |
parent | 34c7f3398fa6681919d986fbd4ca1754325c4140 [diff] |
pwritev/pwritev02.c: add new testcase 1) pwritev(2) fails if iov_len is invalid and set errno to EINVAL. 2) pwritev(2) fails if the vector count is less than zero set errno to EINVAL. 3) pwritev(2) fails if offset is negative and set errno to EINVAL. Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>