From ef618b2626daf95423bf6dc9a72b880e5406b82a Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 30 Jan 2020 17:36:51 +0100 Subject: [PATCH] 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) --- tests/checks/bad-option.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checks/bad-option.fish b/tests/checks/bad-option.fish index 8d7509c4b..6a1140944 100644 --- a/tests/checks/bad-option.fish +++ b/tests/checks/bad-option.fish @@ -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}}