aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2004-08-25 17:05:10 +0000
committerH.J. Lu <hjl.tools@gmail.com>2004-08-25 17:05:10 +0000
commit26a78d4a08b55e466703d34f713a689b84ffe5e8 (patch)
tree7a7de293bf14a0b5475d8b998b7b404469c85038
parente6742ace8b317c9fa9b115d6623bd9369b1b9cd0 (diff)
downloadgdb-26a78d4a08b55e466703d34f713a689b84ffe5e8.zip
gdb-26a78d4a08b55e466703d34f713a689b84ffe5e8.tar.gz
gdb-26a78d4a08b55e466703d34f713a689b84ffe5e8.tar.bz2
2004-08-25 H.J. Lu <hongjiu.lu@intel.com>
* gas/all/gas.exp: Use `string match ""' instead of `eq ""'.
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/all/gas.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index c4b4cf2..2c79c2d 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -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...
diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp
index c6267a8..5f7bb84 100644
--- a/gas/testsuite/gas/all/gas.exp
+++ b/gas/testsuite/gas/all/gas.exp
@@ -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
}
}