Skip to content

Commit 557d69f

Browse files
xuyang0410metan-ucw
authored andcommitted
syscalls/sync02: Remove it
As man-pages said "According to the standard specification (e.g., POSIX.1-2001), sync() schedules the writes, but may return before the actual writing is done. " So checking the data whether has been written into disk make no sense. Also, we check the data from read buffer in this test and we can't ensure the data from disk instead of buffer/cache. So remove the confusing case. Signed-off-by: Yang Xu <[email protected]> Reviewed-by: Cyril Hrubis <[email protected]>
1 parent 09d819b commit 557d69f

File tree

3 files changed

+0
-206
lines changed

3 files changed

+0
-206
lines changed

runtest/syscalls

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,6 @@ symlink05 symlink05
14771477
#symlinkat test cases
14781478
symlinkat01 symlinkat01
14791479

1480-
sync02 sync02
14811480
sync03 sync03
14821481

14831482
syncfs01 syncfs01
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
/sync02
21
/sync03

testcases/kernel/syscalls/sync/sync02.c

Lines changed: 0 additions & 204 deletions
This file was deleted.

0 commit comments

Comments
 (0)