« Return to Thread: [Bug testsuite/12649] New: reproducer for races of expect incomplete reads

[Bug testsuite/12649] reproducer for races of expect incomplete reads

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

| View in Thread

http://sourceware.org/bugzilla/show_bug.cgi?id=12649

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-05-02 17:52:31 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    palves@...    2011-05-02 17:52:28

Modified files:
    gdb/testsuite  : ChangeLog
    gdb/testsuite/gdb.base: completion.exp

Log message:
    2011-05-02  Pedro Alves  <pedro@...>

    PR testsuite/12649
    Fix races.

    * gdb.base/completion.exp: Remove all sleep calls.  Remove
    unnecessary regexs.  Don't explicitly expect anything after the
    prompt.  Eat the prompt if necessary.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2687&r2=1.2688
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/completion.exp.diff?cvsroot=src&r1=1.50&r2=1.51

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

 « Return to Thread: [Bug testsuite/12649] New: reproducer for races of expect incomplete reads