Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Marek Polacek <mpolacek@redhat.com>
To: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: [PATCH] gdb.base/foll-fork.exp: fix up race (PR testsuite/12649) (take 2)
Date: Thu, 29 Sep 2011 13:43:00 -0000	[thread overview]
Message-ID: <4E847486.8090904@redhat.com> (raw)

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"
 }
 


             reply	other threads:[~2011-09-29 13:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-29 13:43 Marek Polacek [this message]
2011-09-29 14:08 ` Jan Kratochvil
2011-09-29 14:25   ` Marek Polacek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E847486.8090904@redhat.com \
    --to=mpolacek@redhat.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox