Re: [RFA] Run follow-fork tests on Linux

Daniel Jacobowitz
2005-11-25T23:33:51Z

On Fri, Nov 25, 2005 at 02:33:48PM -0800, Michael Snyder wrote:
> This allows the tests "foll-fork" and "foll-vfork" to run on Linux,
> where they mostly pass. A little more verbose output from linux-nat.c
> will fix the remaining failures.

What the others said, but...

> *************** proc vfork_parent_follow_to_bp {} {
> *** 109,115 ****
> }
> send_gdb "continue\n"
> gdb_expect {
> ! -re ".*Detaching after fork from process.*Breakpoint.*18.*$gdb_prompt "\
> {pass "vfork parent follow, to bp"}
> -re "$gdb_prompt $" {fail "vfork parent follow, to bp"}
> timeout {fail "(timeout) vfork parent follow, to bp" }
> --- 109,115 ----
> }
> send_gdb "continue\n"
> gdb_expect {
> ! -re ".*Detaching after fork from.*Breakpoint.*18.*$gdb_prompt "\
> {pass "vfork parent follow, to bp"}
> -re "$gdb_prompt $" {fail "vfork parent follow, to bp"}
> timeout {fail "(timeout) vfork parent follow, to bp" }

... you are testing this on something close to HEAD, right? That
shouldn't be printed unless "set debug linux-nat 1".

--
Daniel Jacobowitz
CodeSourcery, LLC