tests/status.in: fix test for locale, fall back to default strings

This commit is contained in:
David Adam 2014-11-25 16:00:04 +08:00
parent 60a2e0a2ad
commit 3b3fde1c5e

View File

@ -10,6 +10,7 @@ and echo 'block'
# Issue #1728
# Bad file redirection on a block causes `status --is-block` to return 0 forever.
set -gx LANG C
begin; end >/ # / is a directory, it can't be opened for writing
status -b
and echo 'unexpected block'