@@ -1,5 +1,10 @@
2014-03-19 Pedro Alves <palves@redhat.com>
+ * gdb.base/async.exp (test_background): Expect \r\n after
+ "completed." in the fail pattern.
+
+2014-03-19 Pedro Alves <palves@redhat.com>
+
* gdb.base/async.exp (test_background): New procedure.
Use it for all background execution command tests.
@@ -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 {