aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorMarek Polacek <mpolacek@sourceware.org>2011-09-29 14:13:00 +0000
committerMarek Polacek <mpolacek@sourceware.org>2011-09-29 14:13:00 +0000
commite9101ff5a7433978be97bebff963cd4124ca8bd8 (patch)
tree31c03cbcf2392f2f08445e7e464f3db6cd9a88cc /gdb/testsuite/gdb.base
parentc227efa6d5818f621e676128da73d9118be07256 (diff)
downloadgdb-e9101ff5a7433978be97bebff963cd4124ca8bd8.zip
gdb-e9101ff5a7433978be97bebff963cd4124ca8bd8.tar.gz
gdb-e9101ff5a7433978be97bebff963cd4124ca8bd8.tar.bz2
gdb.base/foll-fork.exp: fix up race
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/foll-fork.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/foll-fork.exp b/gdb/testsuite/gdb.base/foll-fork.exp
index 40d0702..f2d55fc 100644
--- a/gdb/testsuite/gdb.base/foll-fork.exp
+++ b/gdb/testsuite/gdb.base/foll-fork.exp
@@ -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"
}