]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2004-08-25 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 25 Aug 2004 17:05:10 +0000 (17:05 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 25 Aug 2004 17:05:10 +0000 (17:05 +0000)
* gas/all/gas.exp: Use `string match ""' instead of `eq ""'.

gas/testsuite/ChangeLog
gas/testsuite/gas/all/gas.exp

index c4b4cf252e01e1be6295ba37d4e0dbdb62e62af7..2c79c2da5105355efc69a4181421eab0350f7cd5 100644 (file)
@@ -1,3 +1,7 @@
+2004-08-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/all/gas.exp: Use `string match ""' instead of `eq ""'.
+
 2004-08-24  Jan Beulich  <jbeulich@novell.com>
 
        * gas/all/altmacro.[sd]: Split out part from here...
index c6267a87dc2262905b6b3f0a5ad4743f38f4bab8..5f7bb84b2bfc14ba01109f1cb083a31cf82c6b33 100644 (file)
@@ -127,7 +127,7 @@ case $target_triplet in {
        run_dump_test altmacro
        # The second test is valid only when '!' is not a comment
        # character (it is allowed to be a line comment character).
-       if { [lindex [gas_run excl.s "-o /dev/null" ""] 0] eq "" } {
+       if [string match "" [lindex [gas_run excl.s "-o /dev/null" ""] 0]] {
            run_dump_test altmac2
        }
     }