pwrite/pwrite02.c: make EBADF error value tests sufficient

Adds test for pwrite() and read only fd.

Signed-off-by: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com>
1 file changed