fish-shell/tests/status.in
Kevin Ballard 184110c2e7 Revert "tests/status.in: fix test for locale, fall back to default strings"
This reverts commit 3b3fde1c5e5a2525fd4139c3853bfafab877950c.
2014-11-25 00:51:39 -08:00

18 lines
305 B
Fish

# 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 'unexpected block'
true