From e2682b4e1dad8751b7292828a55d65d0d9c666a1 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 24 Nov 2025 11:31:18 +1030 Subject: [PATCH] bogus FAILs from mmix ld testsuite Get rid of [^c][^h][^i][^l][^d] from error regex. It won't match /home/... and other legitimate paths printed for the program name of the ld under test. * testsuite/ld-mmix/bpo-15.d: Fix error regex. * testsuite/ld-mmix/bpo-15m.d: Likewise. * testsuite/ld-mmix/bpo-21.d: Likewise. * testsuite/ld-mmix/bpo-21m.d: Likewise. --- ld/testsuite/ld-mmix/bpo-15.d | 2 +- ld/testsuite/ld-mmix/bpo-15m.d | 2 +- ld/testsuite/ld-mmix/bpo-21.d | 2 +- ld/testsuite/ld-mmix/bpo-21m.d | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ld/testsuite/ld-mmix/bpo-15.d b/ld/testsuite/ld-mmix/bpo-15.d index 6845a878e74..325933e1245 100644 --- a/ld/testsuite/ld-mmix/bpo-15.d +++ b/ld/testsuite/ld-mmix/bpo-15.d @@ -2,6 +2,6 @@ #source: bpo-7.s #as: -linker-allocated-gregs #ld: -m elf64mmix -#error: ^[^c][^h][^i][^l][^d].* undefined reference to `areg'$ +#error: ^.* undefined reference to `areg'$ # A BPO against an undefined symbol. diff --git a/ld/testsuite/ld-mmix/bpo-15m.d b/ld/testsuite/ld-mmix/bpo-15m.d index eacedf57f61..3ab2b9d02c6 100644 --- a/ld/testsuite/ld-mmix/bpo-15m.d +++ b/ld/testsuite/ld-mmix/bpo-15m.d @@ -2,6 +2,6 @@ #source: bpo-7.s #as: -linker-allocated-gregs #ld: -m mmo -#error: ^[^c][^h][^i][^l][^d].* undefined reference to `areg'$ +#error: ^.* undefined reference to `areg'$ # A BPO against an undefined symbol. diff --git a/ld/testsuite/ld-mmix/bpo-21.d b/ld/testsuite/ld-mmix/bpo-21.d index f208cb6a527..9681ae1864d 100644 --- a/ld/testsuite/ld-mmix/bpo-21.d +++ b/ld/testsuite/ld-mmix/bpo-21.d @@ -3,7 +3,7 @@ #source: bpo-7.s #as: -linker-allocated-gregs #ld: -m elf64mmix -#error: ^[^c][^h][^i][^l][^d].* undefined reference to `areg'$ +#error: ^.* undefined reference to `areg'$ # A BPO reloc against an undefined symbol, with a full set of normal # BPO:s. diff --git a/ld/testsuite/ld-mmix/bpo-21m.d b/ld/testsuite/ld-mmix/bpo-21m.d index b437dd38a61..a6c996bec3d 100644 --- a/ld/testsuite/ld-mmix/bpo-21m.d +++ b/ld/testsuite/ld-mmix/bpo-21m.d @@ -3,7 +3,7 @@ #source: bpo-7.s #as: -linker-allocated-gregs #ld: -m mmo -#error: ^[^c][^h][^i][^l][^d].* undefined reference to `areg'$ +#error: ^.*undefined reference to `areg'$ # A BPO reloc against an undefined symbol, with a full set of normal # BPO:s. -- 2.47.3