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: ("test/read-write: work on 4kb blocksize devices")
@@ -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;
