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 [--].
This commit is contained in:
Mike Frysinger 2021-11-15 03:34:36 -05:00
parent 7770da9714
commit e6c46d0772

View File

@ -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"