[tests] Fix the file size for testing

This commit is contained in:
Ming-Hung Tsai 2021-08-31 00:35:48 +08:00
parent 737cf2f67d
commit ea8dcb54d0

View File

@ -81,7 +81,7 @@ where
let input = P::mk_valid_input(&mut td)?;
let output = td.mk_path("meta.bin");
let _file = file_utils::create_sized_file(&output, 4096);
let _file = file_utils::create_sized_file(&output, 4_194_304);
duct::cmd!("chmod", "-w", &output).run()?;
let stderr = run_fail(P::path(), args!["-i", &input, "-o", &output])?;