utime/utime06.c: add EPERM and EROFS errno testes

Add EPERM and EROFS errno testes for utime(2).

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Reviewed-by: Jan Stancek <jstancek@redhat.com>
renameat/renameat01.c: cleanup

Add renameat.h to encapsulate renameat syscall.
Delete some useless comments.
Use some SAFE_* macros.
Move the test body from main() to renameat_verify().

Signed-off-by: Xing Gu <gux.fnst@cn.fujitsu.com>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
renameat/renameat01.c: add ELOOP, EROFS and EMLINK error value tests

Signed-off-by: Xing Gu <gux.fnst@cn.fujitsu.com>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
pan/ltp-pan.c: fix compilation warnings

Delete the useless 'char *av[2], bigarg[82];' definition.

Fix the 'ignoring return value of read(2)' compilation warnings.

Signed-off-by: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com>
syscalls/renameat01: Fixes

* Pass cleanup to tst_mkfs()
  (We should cleanup the device and tmpdir if tst_mkfs() failed)

* Add tst_brkm() to unlikely case that we failed to acquire device

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/rename/rename11.c: add ELOOP, EMLINK and EROFS error value tests

Signed-off-by: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>