diff options
Diffstat (limited to 'tests/fs-tests/lib')
-rw-r--r-- | tests/fs-tests/lib/tests.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fs-tests/lib/tests.c b/tests/fs-tests/lib/tests.c index e2a6d5b..9b8f443 100644 --- a/tests/fs-tests/lib/tests.c +++ b/tests/fs-tests/lib/tests.c @@ -505,6 +505,7 @@ void tests_check_filled_file_fd(int fd) ssize_t sz; char buf[WRITE_BUFFER_SIZE]; + CHECK(lseek(fd, 0, SEEK_SET) == 0); do { sz = read(fd, buf, WRITE_BUFFER_SIZE); CHECK(sz >= 0); |