From 58425ed463129d6e1f0d2d1079fa0730d91a6cbb Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Thu, 17 Aug 2017 09:24:14 -0700 Subject: [PATCH] Do not redirect to / in status.in/err test. --- tests/status.err | 2 +- tests/status.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'