mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 07:23:34 +08:00
c62d95e428
This tested #1728, where redirecting a directory (`begin; something; end < .`) would cause `status` to misbehave. Unfortunately, on Illumos/OpenIndiana/SunOS, this returns a different error (EINVAL instead of EISDIR), so we can't check that with our test harness, because we can't redirect it. Since it's not important that this gives the same error across systems (and indeed we provide no way of intercepting the error!), use an invocation test instead, because that allows different output per-uname. See #5472.
10 lines
355 B
Plaintext
10 lines
355 B
Plaintext
status: Invalid combination of options,
|
|
you cannot do both 'is-interactive' and 'is-login' in the same invocation
|
|
status: Invalid combination of options,
|
|
you cannot do both 'is-block' and 'is-interactive' in the same invocation
|
|
status: Invalid job control mode 'full1'
|
|
status: Invalid job control mode '1none'
|
|
|
|
####################
|
|
# Future Feature Flags
|