mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Do not redirect to / in status.in/err test.
This commit is contained in:
parent
ea45541d53
commit
58425ed463
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
<W> fish: An error occurred while redirecting file '/'
|
<W> fish: An error occurred while redirecting file '.'
|
||||||
open: Is a directory
|
open: Is a directory
|
||||||
status: Invalid combination of options,
|
status: Invalid combination of options,
|
||||||
you cannot do both 'is-interactive' and 'is-login' in the same invocation
|
you cannot do both 'is-interactive' and 'is-login' in the same invocation
|
||||||
|
|
|
@ -10,7 +10,7 @@ end
|
||||||
|
|
||||||
# Issue #1728
|
# Issue #1728
|
||||||
# Bad file redirection on a block causes `status --is-block` to return 0 forever.
|
# Bad file redirection on a block causes `status --is-block` to return 0 forever.
|
||||||
begin; end >/ # / is a directory, it can't be opened for writing
|
begin; end >. # . is a directory, it can't be opened for writing
|
||||||
status -b
|
status -b
|
||||||
and echo '"status -b" unexpectedly returned true after bad redirect on a begin block'
|
and echo '"status -b" unexpectedly returned true after bad redirect on a begin block'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue