diff options
author | Marek Polacek <mpolacek@sourceware.org> | 2011-09-29 14:13:00 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@sourceware.org> | 2011-09-29 14:13:00 +0000 |
commit | e9101ff5a7433978be97bebff963cd4124ca8bd8 (patch) | |
tree | 31c03cbcf2392f2f08445e7e464f3db6cd9a88cc | |
parent | c227efa6d5818f621e676128da73d9118be07256 (diff) | |
download | gdb-e9101ff5a7433978be97bebff963cd4124ca8bd8.zip gdb-e9101ff5a7433978be97bebff963cd4124ca8bd8.tar.gz gdb-e9101ff5a7433978be97bebff963cd4124ca8bd8.tar.bz2 |
gdb.base/foll-fork.exp: fix up race
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/foll-fork.exp | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 9eebcda..c494698 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-09-29 Marek Polacek <mpolacek@redhat.com> + + * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the + matching pattern. + 2011-09-28 Paul Koning <paul_koning@dell.com> * gdb.python/py-type.c (enum E): New. 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" } |