aboutsummaryrefslogtreecommitdiff
path: root/lib/dg.exp
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2018-12-09 18:41:26 +1100
committerBen Elliston <bje@gnu.org>2018-12-09 18:41:26 +1100
commite2fb9266669c87021ce666f8dca81ab2d96635d1 (patch)
tree5671da3e54579106914421e932611f057eedc78d /lib/dg.exp
parent115a81dab7063ea3b806bfbac87845e32d8ca5ad (diff)
downloaddejagnu-e2fb9266669c87021ce666f8dca81ab2d96635d1.zip
dejagnu-e2fb9266669c87021ce666f8dca81ab2d96635d1.tar.gz
dejagnu-e2fb9266669c87021ce666f8dca81ab2d96635d1.tar.bz2
* baseboards/basic-sid.exp, baseboards/basic-sim.exp,
baseboards/i386-sid.exp, baseboards/mt-sid.exp, baseboards/sh-sid.exp, config/adb.exp, config/gdb-comm.exp, config/gdb_stub.exp, config/sim.exp, config/unix.exp, config/vxworks.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp, lib/rsh.exp, lib/target.exp, lib/tip.exp, lib/utils.exp, testsuite/lib/libsup.exp, testsuite/runtest.all/options.exp,: Remove unnecessary braces around variable expansions.
Diffstat (limited to 'lib/dg.exp')
-rw-r--r--lib/dg.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dg.exp b/lib/dg.exp
index 7903942..68c63a3 100644
--- a/lib/dg.exp
+++ b/lib/dg.exp
@@ -813,7 +813,7 @@ proc dg-test { args } {
setup_xfail "*-*-*"
}
set texttmp [lindex ${dg-output-text} 1]
- if { ![regexp -- $texttmp ${output}] } {
+ if { ![regexp -- $texttmp $output] } {
fail "$name output pattern test"
send_log "Output was:\n${output}\nShould match:\n$texttmp\n"
verbose "Failed test for output pattern $texttmp" 3