2010-03-31 Kai TIetz <kai.tietz@onevision.com>
* ld-pe//pe-compile.exp (run_basefile_test): Trim result of wc before string compare.
This commit is contained in:
parent
8072405bd6
commit
77aabdd2d9
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-03-31 Kai TIetz <kai.tietz@onevision.com>
|
||||
|
||||
* ld-pe//pe-compile.exp (run_basefile_test): Trim result of wc
|
||||
before string compare.
|
||||
|
||||
2010-03-31 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
||||
|
||||
* ld-arm/script-type.sym: Fix test.
|
||||
|
|
|
@ -65,7 +65,7 @@ proc run_basefile_test { testname } {
|
|||
|
||||
catch "exec wc -c tmpdir/$testname.base" err
|
||||
|
||||
if ![string match "0 tmpdir/$testname.base" $err] then {
|
||||
if ![string match "0 tmpdir/$testname.base" [string trim $err]] then {
|
||||
send_log "$err\n"
|
||||
if { $verbose == 2 } then { verbose "$err" 2 }
|
||||
fail $testname
|
||||
|
|
Loading…
Add table
Reference in a new issue