This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Fix error message for unexpected output in readelf test
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Wed, 14 Feb 2007 10:04:58 +0000
- Subject: PATCH: Fix error message for unexpected output in readelf test
Hi Guys,
I am applying the patch below to fix a small problem with the
binutils readelf -wi test. If the test fails due to unexpected
output the script would abort with a message that "$options" was
undefined. This was obviously a cut-and-paste error since the same
line is used correctly earlier on in the file.
Cheers
Nick
binutils/testsuite/ChangeLog
2007-02-14 Nick Clifton <nickc@redhat.com>
* binutils-all/readelf.exp (readelf_wi_test): Fix unexpected
output failure message.
Index: binutils/testsuite/binutils-all/readelf.exp
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/readelf.exp,v
retrieving revision 1.23
diff -c -3 -p -r1.23 readelf.exp
*** binutils/testsuite/binutils-all/readelf.exp 15 Aug 2006 18:23:10 -0000 1.23
--- binutils/testsuite/binutils-all/readelf.exp 14 Feb 2007 09:54:47 -0000
*************** proc readelf_wi_test {} {
*** 260,266 ****
set got [prune_readelf_wi_warnings $got]
if ![string match "" $got] then {
! fail "readelf $options (reason: unexpected output)"
send_log $got
send_log "\n"
return
--- 260,266 ----
set got [prune_readelf_wi_warnings $got]
if ![string match "" $got] then {
! fail "readelf $READELFFLAGS -wi (reason: unexpected output)"
send_log $got
send_log "\n"
return