diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-02-10 10:32:28 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-02-10 10:32:28 -0700 |
commit | 90a4da4d51f137229a2ef39b25880d81adfcb487 (patch) | |
tree | b499877a3f6bb89feb55f8f3ffcfa2bfefcc382c | |
parent | 42df1f30d8f6f759c94e821ce4e04cff39f0c6e1 (diff) | |
download | liburing-90a4da4d51f137229a2ef39b25880d81adfcb487.tar.gz liburing-90a4da4d51f137229a2ef39b25880d81adfcb487.tar.bz2 |
test/read-write: update EFBIG to work with 256M files
A previous commit changed the file size from 128M to 256M, and this
caused the EFBIG test case to be buggy. Update it so it works again.
Fixes: 42df1f30d8f6 ("test/read-write: work on 4kb blocksize devices")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | test/read-write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/read-write.c b/test/read-write.c index 5dc6f87..f505f93 100644 --- a/test/read-write.c +++ b/test/read-write.c @@ -658,8 +658,8 @@ static int test_write_efbig(void) return 1; } rlim = old_rlim; - rlim.rlim_cur = 64 * 1024; - rlim.rlim_max = 64 * 1024; + rlim.rlim_cur = 128 * 1024; + rlim.rlim_max = 128 * 1024; if (setrlimit(RLIMIT_FSIZE, &rlim) < 0) { perror("setrlimit"); return 1; |