This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [testsuite] kfail sigaltstack.exp on i386/gnu/linux
- From: Mark Kettenis <kettenis at chello dot nl>
- To: drow at false dot org, mec dot gnu at mindspring dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 9 Aug 2004 19:08:54 +0200 (CEST)
- Subject: 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
}
}