diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2002-05-02 16:03:41 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@nildram.co.uk> | 2002-05-02 16:03:41 +0000 |
commit | fba8a20b041b2c724f26c1ef93f409f4d894c616 (patch) | |
tree | cf19f1acff43a81405f52308742537d8ecd263ad /ld | |
parent | 3994c3704fbb7320436a453418d40f7fd5e0d9a7 (diff) | |
download | binutils-redhat-fba8a20b041b2c724f26c1ef93f409f4d894c616.tar.gz |
* ld-scripts/map-address.exp: Quote conditions.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/map-address.exp | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 9cff11e868..b65e4f718f 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-05-02 Richard Sandiford <rsandifo@redhat.com> + + * ld-scripts/map-address.exp: Quote conditions. + 2002-04-30 Richard Sandiford <rsandifo@redhat.com> * ld-scripts/map-address.exp: New test. diff --git a/ld/testsuite/ld-scripts/map-address.exp b/ld/testsuite/ld-scripts/map-address.exp index 510d5324e0..7264f1386c 100644 --- a/ld/testsuite/ld-scripts/map-address.exp +++ b/ld/testsuite/ld-scripts/map-address.exp @@ -18,19 +18,19 @@ set testname "map addresses" # The source file doesn't matter. Pinch one from the sizeof test. -if ![ld_assemble $as $srcdir/$subdir/sizeof.s tmpdir/map-address.o] { +if {![ld_assemble $as $srcdir/$subdir/sizeof.s tmpdir/map-address.o]} { unresolved $testname return } -if ![ld_simple_link $ld tmpdir/map-address \ +if {![ld_simple_link $ld tmpdir/map-address \ "-T $srcdir/$subdir/map-address.t \ tmpdir/map-address.o \ - -Map tmpdir/map-address.map"] { + -Map tmpdir/map-address.map"]} { fail $testname -} elseif [regexp_diff \ - "tmpdir/map-address.map" \ - "$srcdir/$subdir/map-address.d"] { +} elseif {[regexp_diff \ + "tmpdir/map-address.map" \ + "$srcdir/$subdir/map-address.d"]} { fail $testname } else { pass $testname |