1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

Remove impractical test creating a file too large

This commit is contained in:
Omer Tuchfeld 2022-02-22 14:23:46 +01:00
parent fa60898354
commit f3895124b9

View file

@ -319,13 +319,6 @@ fn test_truncate_bytes_size() {
.fails() .fails()
.code_is(1) .code_is(1)
.stderr_only("truncate: Invalid number: '1Y': Value too large for defined data type"); .stderr_only("truncate: Invalid number: '1Y': Value too large for defined data type");
#[cfg(target_pointer_width = "32")]
{
let sizes = ["1000G", "10T"];
for size in &sizes {
new_ucmd!().args(&["--size", size, "file"]).succeeds();
}
}
} }
/// Test that truncating a non-existent file creates that file. /// Test that truncating a non-existent file creates that file.