This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] gdb.base/foll-fork.exp: fix up race (PR testsuite/12649) (take 2)
- From: Marek Polacek <mpolacek at redhat dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Thu, 29 Sep 2011 15:37:10 +0200
- Subject: [PATCH] gdb.base/foll-fork.exp: fix up race (PR testsuite/12649) (take 2)
Here's an updated version without ".*" wildcards. Ok?
2011-09-29 Marek Polacek <mpolacek@redhat.com>
* gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
matching pattern.
--- gdb/gdb/testsuite/gdb.base/foll-fork.exp.mp 2011-09-29 15:09:33.367546560 +0200
+++ gdb/gdb/testsuite/gdb.base/foll-fork.exp 2011-09-29 15:32:37.490708453 +0200
@@ -168,7 +168,7 @@ proc catch_fork_child_follow {} {
gdb_test "delete breakpoints" \
"" \
"set follow-fork child, cleanup" \
- "Delete all breakpoints.*$" \
+ "Delete all breakpoints. \\(y or n\\) $" \
"y"
}
@@ -255,7 +255,7 @@ proc tcatch_fork_parent_follow {} {
gdb_test "delete breakpoints" \
"" \
"set follow-fork parent, cleanup" \
- "Delete all breakpoints.*$" \
+ "Delete all breakpoints. \\(y or n\\) $" \
"y"
}