2004-08-25 H.J. Lu <hongjiu.lu@intel.com>

* gas/all/gas.exp: Use `string match ""' instead of `eq ""'.
This commit is contained in:
H.J. Lu 2004-08-25 17:05:10 +00:00
parent e6742ace8b
commit 26a78d4a08
2 changed files with 5 additions and 1 deletions

View 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...

View 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
}
}