From e6c46d077240565fac4d70066719a8bbe2c212d1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 15 Nov 2021 03:34:36 -0500 Subject: [PATCH] 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 [--]. --- sim/testsuite/cris/asm/opterr3.ms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.30.2