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

head: improve error mgmt.

And provide more details than GNU

Should fix tests/head/head-write-error
This commit is contained in:
Sylvestre Ledru 2025-03-05 11:06:07 +01:00
parent 0936cee9d5
commit dedd644016
2 changed files with 19 additions and 9 deletions

View file

@ -806,7 +806,7 @@ fn test_write_to_dev_full() {
.pipe_in_fixture(INPUT)
.set_stdout(dev_full)
.run()
.stderr_contains("No space left on device");
.stderr_contains("error writing 'standard output': No space left on device");
}
}
}