diff --git a/tests/status.err b/tests/status.err index d2b89daf6..2dc6956a2 100644 --- a/tests/status.err +++ b/tests/status.err @@ -1,4 +1,4 @@ - fish: An error occurred while redirecting file '/' + fish: An error occurred while redirecting file '.' open: Is a directory status: Invalid combination of options, you cannot do both 'is-interactive' and 'is-login' in the same invocation diff --git a/tests/status.in b/tests/status.in index 3049e9184..ee16ecdad 100644 --- a/tests/status.in +++ b/tests/status.in @@ -10,7 +10,7 @@ end # Issue #1728 # 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 and echo '"status -b" unexpectedly returned true after bad redirect on a begin block'