This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [testsuite] kfail sigaltstack.exp on i386/gnu/linux


   Date: Sun, 8 Aug 2004 18:02:20 -0400
   From: Daniel Jacobowitz <drow@false.org>

   2004-08-08  Daniel Jacobowitz  <dan@debian.org>

	   PR gdb/1736
	   * gdb.base/sigaltstack.exp (finish_test): New procedure.  KFAIL
	   for i?86-*-linux*.

Sorry Daniel, this patch isn't right.  The tests get out of sync on my
i386-unknown-freebsd4.7 system.  You can't blindly convert from
gdb_test to gdb_test_multiple.  The latter doesn't provide proper
anchoring.  The attached patch fixes that.  Is this OK Michael?

Index: testsuite/ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* gdb.base/sigaltstack.exp: Provide proper anchoring.

Index: testsuite/gdb.base/sigaltstack.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/sigaltstack.exp,v
retrieving revision 1.3
diff -u -p -r1.3 sigaltstack.exp
--- testsuite/gdb.base/sigaltstack.exp 9 Aug 2004 13:16:16 -0000 1.3
+++ testsuite/gdb.base/sigaltstack.exp 9 Aug 2004 17:07:51 -0000
@@ -89,7 +89,7 @@ proc finish_test { pattern msg } {
 	    setup_kfail "i?86-*-linux*" gdb/1736
 	    fail "$msg (could not set breakpoint)"
 	}
-	-re "$pattern" {
+	-re "$pattern.*${gdb_prompt} $" {
 	    pass $msg
 	}
     }




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]