mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
tac: correct error message when reading from dir.
Correct the error message produced by `tac` when trying to read from a directory. Previously if the path 'a' referred to a directory, then running `tac a` would produce the error message dir: read error: Invalid argument after this commit it produces a: read error: Invalid argument which matches GNU `tac`.
This commit is contained in:
parent
c98e7f5de9
commit
abf4c69b28
2 changed files with 2 additions and 2 deletions
|
@ -66,5 +66,5 @@ fn test_invalid_input() {
|
|||
.ucmd()
|
||||
.arg("a")
|
||||
.fails()
|
||||
.stderr_contains("dir: read error: Invalid argument");
|
||||
.stderr_contains("a: read error: Invalid argument");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue