* ld-scripts/map-address.exp: Quote conditions.
authorRichard Sandiford <rdsandiford@googlemail.com>
Thu, 2 May 2002 16:03:41 +0000 (16:03 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Thu, 2 May 2002 16:03:41 +0000 (16:03 +0000)
ld/testsuite/ChangeLog
ld/testsuite/ld-scripts/map-address.exp

index 9cff11e868efa2066696a8b40b4a5f006137b04c..b65e4f718f038d8aed0b130737977f68a5b8f365 100644 (file)
@@ -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.
index 510d5324e014b7779d7b1746773a6d6c3c54bb48..7264f1386ce77ba67f79e07112648a066cb6addc 100644 (file)
 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
This page took 0.028013 seconds and 4 git commands to generate.