binutils-gdb/ld/testsuite/ld-elf/orphan-6.l
Andrew Burgess 62bdf2d66e ld/testing: Fix error and warning checks in run_dump_test
The options warning_output and error_output to the run_dump_test
function were incorrectly checking the return value from the regexp_diff
function, and so, as a result failing tests were showing as a pass.
Fixed in this commit.

ld/ChangeLog:

	* testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
	value from regexp_diff.
	* testsuite/ld-elf/orphan-5.l: Fix expected output.
	* testsuite/ld-elf/orphan-6.l: Likewise.
2016-03-30 17:58:05 +01:00

6 lines
150 B
Plaintext

#...
.*error: unplaced orphan section `\.notbad' from `tmpdir/.*\.o'\.
#...
.*error: unplaced orphan section `\.note\.bar' from `tmpdir/.*\.o'\.
#...