diff options
Diffstat (limited to 'tests/status.in')
-rw-r--r-- | tests/status.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/status.in b/tests/status.in new file mode 100644 index 00000000..14dff232 --- /dev/null +++ b/tests/status.in @@ -0,0 +1,9 @@ +# vim: set filetype=fish: + +# 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' + +true |