aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-15 03:34:36 -0500
committerMike Frysinger <vapier@gentoo.org>2021-11-15 03:34:36 -0500
commite6c46d077240565fac4d70066719a8bbe2c212d1 (patch)
tree90d5ff6710e796a6cccf74f038283b33bc6bfa60 /sim/testsuite
parent7770da971420cd3327326b6b8720383d23b5dbd3 (diff)
downloadgdb-e6c46d077240565fac4d70066719a8bbe2c212d1.zip
gdb-e6c46d077240565fac4d70066719a8bbe2c212d1.tar.gz
gdb-e6c46d077240565fac4d70066719a8bbe2c212d1.tar.bz2
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 [--].
Diffstat (limited to 'sim/testsuite')
-rw-r--r--sim/testsuite/cris/asm/opterr3.ms2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/testsuite/cris/asm/opterr3.ms b/sim/testsuite/cris/asm/opterr3.ms
index 8d602be..b3279f0 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"