diff --git a/tests/diagnostics.at b/tests/diagnostics.at
index 46af89c4..035948c4 100644
--- a/tests/diagnostics.at
+++ b/tests/diagnostics.at
@@ -265,7 +265,8 @@ input.y: warning: fix-its can be applied. Rerun with option
]])
-# Likewise, but currently not portable to Cygwin.
+# Likewise, but currently not portable to AIX and Cygwin.
+# https://lists.gnu.org/r/bug-bison/2020-05/msg00050.html
# https://lists.gnu.org/r/bug-bison/2020-05/msg00003.html.
AT_TEST([[Tabulations and multibyte characters]],
[[%%
@@ -277,7 +278,7 @@ e: {ββΓπΈβ = -βπ΅β/βt}
| ^~~~~~~~~~~~~~
| %empty
input.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother]
-]], [], [uname -a | grep -i cygwin])
+]], [], [uname -a | $EGREP -i 'aix|cygwin'])
## --------------- ##