* gdb.base/sigaltstack.exp: Provide proper anchoring.
authorMark Kettenis <kettenis@gnu.org>
Mon, 9 Aug 2004 19:09:30 +0000 (19:09 +0000)
committerMark Kettenis <kettenis@gnu.org>
Mon, 9 Aug 2004 19:09:30 +0000 (19:09 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/sigaltstack.exp

index 5544a4c01afbdefcf21e7dc1a58b012d52936367..fb16522873821e6a322fe59399d36d8a5b07a7c9 100644 (file)
@@ -1,3 +1,7 @@
+2004-08-09  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.base/sigaltstack.exp: Provide proper anchoring.
+
 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
 
        * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
index 0e5eb090e1ec125f17c54a659477419a90427476..d1e37d8aa9846ac83a25abb900e7f246cb8c155f 100644 (file)
@@ -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
        }
     }