dio_append: Fix with -i2
PATCH 1/1 dio_append: Fix with -i2
We have to delete the file at the end of the iteration otherwise we will not append on second and subseqent iterations.
Signed-off-by Cyril Hrubis <[email protected]>
--- testcases/kernel/io/ltp-aiodio/dio_append.c | 2 ++ 1 file changed, 2 insertions(+)
testcases/kernel/io/ltp-aiodio/dio_append.c +2 -0
@@ -77,6 +77,8 @@ static void run(void)tst_res (TPASS ,"All bytes read were zeroed" ); *run_child =0 ; + +SAFE_UNLINK (filename); }static struct tst_test test = {
Signature · 5 lines
2.34.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp