diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 509472d9ba..a7237d2e5b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-03-19 Pedro Alves + + * gdb.base/async.exp (test_background): Expect \r\n after + "completed." in the fail pattern. + 2014-03-19 Pedro Alves * gdb.base/async.exp (test_background): New procedure. diff --git a/gdb/testsuite/gdb.base/async.exp b/gdb/testsuite/gdb.base/async.exp index 65bec4da3f..a1c821cfaf 100644 --- a/gdb/testsuite/gdb.base/async.exp +++ b/gdb/testsuite/gdb.base/async.exp @@ -67,7 +67,7 @@ proc test_background {command before_prompt after_prompt {message ""}} { -re "^$command\r\n${before_prompt}${gdb_prompt}${after_prompt}completed\.\r\n" { pass "$message" } - -re "$gdb_prompt.*completed\.$" { + -re "$gdb_prompt.*completed\.\r\n" { fail "$message" } timeout {