From: Jeff Law Date: Fri, 21 Jul 1995 17:42:14 +0000 (+0000) Subject: * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d86d216f2cadc3dbc820662a1264da96b98fd7c;p=binutils-gdb.git * 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 --- diff --git a/gdb/testsuite/gdb.chill/chexp.exp b/gdb/testsuite/gdb.chill/chexp.exp index 19141b8429f..40d81f4fa91 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" \