syscalls/statx01: loosen the stx_blocks check
PATCH v2 1/1 syscalls/statx01: loosen the stx_blocks check
Extended attributes may cause an extra block to be allocated for a file. Loosen the test to accommodate this.
Signed-off-by Steve Muckle <[email protected]>
--- testcases/kernel/syscalls/statx/statx01.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/syscalls/statx/statx01.c +1 -1
@@ -92,7 +92,7 @@ static void test_normal_file(void) buff.stx_mode, MODE); -if (buff.stx_blocks <= buff.stx_blksize/512 ) +if (buff.stx_blocks <= buff.stx_blksize/512 *2 )tst_res (TPASS ,"stx_blocks(%" PRIu64") is valid" , buff.stx_blocks);else
Signature · 1 line
2.22.0.709.g102302147b-goog
PATCH v2 1/1 syscalls/statx01: loosen the stx_blocks check
Hi!
Pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]