aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1995-07-21 17:42:14 +0000
committerJeff Law <law@redhat.com>1995-07-21 17:42:14 +0000
commit2d86d216f2cadc3dbc820662a1264da96b98fd7c (patch)
treec5407250fdd7cc21d5d1236e4eafb2bf1f13f9b1 /gdb/testsuite
parent297faf8cffa3dac6fb47a26268b18a2db64b7f79 (diff)
downloadgdb-2d86d216f2cadc3dbc820662a1264da96b98fd7c.zip
gdb-2d86d216f2cadc3dbc820662a1264da96b98fd7c.tar.gz
gdb-2d86d216f2cadc3dbc820662a1264da96b98fd7c.tar.bz2
* gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
sequences to be echo'd by gdb when using gdb_test. * gdb.chill/chexp.exp: Likewise. * gdb.fortran/exprs.exp: Likewise
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/gdb.chill/chexp.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.chill/chexp.exp b/gdb/testsuite/gdb.chill/chexp.exp
index 19141b8..40d81f4 100644
--- a/gdb/testsuite/gdb.chill/chexp.exp
+++ b/gdb/testsuite/gdb.chill/chexp.exp
@@ -248,19 +248,19 @@ proc test_float_literals_accepted {} {
proc test_convenience_variables {} {
global prompt
- gdb_test "set \$foo := 101" " := 101\[\r\n\]+" \
+ gdb_test "set \$foo := 101" " := 101\[\r\n\]*" \
"Set a new convenience variable"
gdb_test "print \$foo" " = 101" \
"Print contents of new convenience variable"
- gdb_test "set \$foo := 301" " := 301\[\r\n\]+" \
+ gdb_test "set \$foo := 301" " := 301\[\r\n\]*" \
"Set convenience variable to a new value"
gdb_test "print \$foo" " = 301" \
"Print new contents of convenience variable"
- gdb_test "set \$_ := 11" " := 11\[\r\n\]+" \
+ gdb_test "set \$_ := 11" " := 11\[\r\n\]*" \
"Set convenience variable \$_"
gdb_test "print \$_" " = 11" \