diff options
Diffstat (limited to 'tests/status.in')
-rw-r--r-- | tests/status.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/status.in b/tests/status.in index 14dff232..875f62f3 100644 --- a/tests/status.in +++ b/tests/status.in @@ -1,9 +1,17 @@ # vim: set filetype=fish: +status -b +or echo 'top level' + +begin + status -b +end +and echo 'block' + # 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 status -b -and echo 'block' +and echo 'unexpected block' true |