Skip to content

Commit eac3375

Browse files
committed
readahead02: include errno in failure message
Signed-off-by: Jan Stancek <[email protected]>
1 parent 7a7a964 commit eac3375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testcases/kernel/syscalls/readahead/readahead02.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static int check_ret(long expected_ret)
8181
"returned value = %ld", TEST_RETURN);
8282
return 0;
8383
}
84-
tst_resm(TFAIL, "unexpected failure - "
84+
tst_resm(TFAIL | TTERRNO, "unexpected failure - "
8585
"returned value = %ld, expected: %ld",
8686
TEST_RETURN, expected_ret);
8787
return 1;

0 commit comments

Comments
 (0)