From: Mike Frysinger Date: Mon, 15 Nov 2021 08:34:36 +0000 (-0500) Subject: sim: cris: make error message test a little more flexible X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6c46d077240565fac4d70066719a8bbe2c212d1;p=binutils-gdb.git sim: cris: make error message test a little more flexible The point of this test is to just make sure the usage text is shown, not the exact details of the usage text. So shorten the output test to match the beginning. This fixes breakage when the output changed slightly to include [--]. --- diff --git a/sim/testsuite/cris/asm/opterr3.ms b/sim/testsuite/cris/asm/opterr3.ms index 8d602be2e6c..b3279f0198a 100644 --- a/sim/testsuite/cris/asm/opterr3.ms +++ b/sim/testsuite/cris/asm/opterr3.ms @@ -2,7 +2,7 @@ # ld: -N --oformat binary --section-start=.text=0x10000000 # sim: --cris-naked --memory-mapfile # xerror: -# output: Usage: run \[options\] program \[program args\]\n*\n +# output: Usage: run *\n*\n # progopts: --memory-region 0x10000000,0x1000 .include "bare3.ms"