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:
parent
e9adf979d9
commit
fa60898354
4 changed files with 4 additions and 28 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue