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

@ -302,14 +302,7 @@ fn test_head_invalid_num() {
{
let sizes = ["1000G", "10T"];
for size in &sizes {
new_ucmd!()
.args(&["-c", size])
.fails()
.code_is(1)
.stderr_only(format!(
"head: invalid number of bytes: '{}': Value too large for defined data type",
size
));
new_ucmd!().args(&["-c", size]).succeeds();
}
}
new_ucmd!()