Add Solaris' error message to a test

Just another version of the error. We still want to get a bug if it
ever triggers a *wrong* error, so we still list all the options
instead of going for `.*option:.*Z.*`.

Fixes #6554

(cherry picked from commit e8000cfea9d2abde4acf07e759e18706a1f8010a)
This commit is contained in:
Fabian Homborg 2020-01-30 17:36:51 +01:00
parent 105a256e5a
commit ef618b2626

View File

@ -1,2 +1,2 @@
#RUN: %fish -Z
#CHECKERR: {{.*fish}}: {{unrecognized option: Z|invalid option -- '?Z'?|unknown option -- Z}}
#CHECKERR: {{.*fish}}: {{unrecognized option: Z|invalid option -- '?Z'?|unknown option -- Z}|illegal option -- Z}}