LD/testsuite: ld-lib.exp: Fix a typo, s/regexp/regex/
authorMaciej W. Rozycki <macro@imgtec.com>
Thu, 2 Feb 2017 19:09:57 +0000 (19:09 +0000)
committerMaciej W. Rozycki <macro@imgtec.com>
Thu, 2 Feb 2017 22:30:55 +0000 (22:30 +0000)
commit2e9af2d0de9534765e7394d10b2d307c4259de31
treee83d7939c8f7cc07f41b91458067fe7cd17d87d1
parent8f56d4fd28b887cc709524b1993c9da4c64b0696
LD/testsuite: ld-lib.exp: Fix a typo, s/regexp/regex/

Match `$check_ld(source)' against "regex" rather than "regexp" in
reporting, correcting test framework diagnostics, e.g.:

tmpdir/undefined.o: In function `foo':
(.text+0x0): undefined reference to `bar'
failed with: <tmpdir/undefined.o: In function `foo':
(.text+0x0): undefined reference to `bar'>, no expected output
tmpdir/undefined.o: In function `foo':
(.text+0x0): undefined reference to `bar'
PASS: MIPS undefined reference

(current) vs:

tmpdir/undefined.o: In function `foo':
(.text+0x0): undefined reference to `bar'
failed with: <tmpdir/undefined.o: In function `foo':
(.text+0x0): undefined reference to `bar'>, expected: <\A[^\n]*\.o: In function `foo':\n\(\.text\+0x0\): undefined reference to `bar'\Z>
tmpdir/undefined.o: In function `foo':
(.text+0x0): undefined reference to `bar'
PASS: MIPS undefined reference

(corrected).  No functional change.

ld/
* ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo,
s/regexp/regex/.
ld/ChangeLog
ld/testsuite/lib/ld-lib.exp
This page took 0.025503 seconds and 4 git commands to generate.