mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 11:31:15 -03:00
Fix for bad-switch test failing on Darwin; system-specific output.
Because the 'getopt' library differs between systems, it's likely that there will be different output. This is the case between the GNU-based Linux and the BSD-based Darwin, for the 'getopt' library, it seems. It causes the tests to produce different results. To allow us to test, and check for regressions, on the different platforms, the invocation code has been updated to allow a system-specific suffix to be used on the test files. If this suffix is found, the test will also be flagged as being system-specific which should ensure the change in behaviour is noted.
This commit is contained in:
committed by
Kurtis Rader
parent
8d83c967d3
commit
bf2a9f3835
2
tests/invocation/bad-switch.err.Darwin
Normal file
2
tests/invocation/bad-switch.err.Darwin
Normal file
@@ -0,0 +1,2 @@
|
||||
fish: invalid option -- Z
|
||||
RC: 1
|
||||
Reference in New Issue
Block a user