1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Adjust 32-bit tests for tail,split,truncate,head

This commit is contained in:
Omer Tuchfeld 2022-02-22 11:09:22 +01:00
parent e9adf979d9
commit fa60898354
4 changed files with 4 additions and 28 deletions

View file

@ -323,14 +323,7 @@ fn test_truncate_bytes_size() {
{
let sizes = ["1000G", "10T"];
for size in &sizes {
new_ucmd!()
.args(&["--size", size, "file"])
.fails()
.code_is(1)
.stderr_only(format!(
"truncate: Invalid number: '{}': Value too large for defined data type",
size
));
new_ucmd!().args(&["--size", size, "file"]).succeeds();
}
}
}