syscalls/fchown04: Make output nicer
PATCH 1/1 syscalls/fchown04: Make output nicer
Print values not variable names in the TST_EXP_PASS()
Signed-off-by Cyril Hrubis <[email protected]>
--- testcases/kernel/syscalls/fchown/fchown04.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
testcases/kernel/syscalls/fchown/fchown04.c +2 -1
@@ -62,7 +62,8 @@ static void run(unsigned int i)UID16_CHECK ((uid =geteuid ()),"fchown" );GID16_CHECK ((gid =getegid ()),"fchown" ); -TST_EXP_FAIL (FCHOWN (*tc[i].fd, uid, gid), tc[i].exp_errno); +TST_EXP_FAIL (FCHOWN (*tc[i].fd, uid, gid), tc[i].exp_errno, +"fchown(%i, %i, %i)" , *tc[i].fd, uid, gid); }static void cleanup (void )
Signature · 1 line
2.31.1