public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [patch] gdb.base/attach.exp replace gdb_test_multi
@ 2010-06-04 23:10 Michael Snyder
  0 siblings, 0 replies; only message in thread
From: Michael Snyder @ 2010-06-04 23:10 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 49 bytes --]

A simplification by using gdb_test.
Checked in.


[-- Attachment #2: attach.txt --]
[-- Type: text/plain, Size: 857 bytes --]

2010-06-04  Michael Snyder  <msnyder@vmware.com>

	* gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.

Index: attach.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/attach.exp,v
retrieving revision 1.31
diff -u -p -r1.31 attach.exp
--- attach.exp	1 Jun 2010 21:29:21 -0000	1.31
+++ attach.exp	4 Jun 2010 23:08:15 -0000
@@ -309,11 +309,11 @@ proc do_attach_tests {} {
 	"attach when process' a.out not in cwd"
 
     set test "after attach3, exit"
-    gdb_test_multiple "kill" "$test" {
-	-re "Kill the program being debugged.*y or n. $" {
-	    gdb_test "y" "" "$test"
-	}
-    }
+    gdb_test "kill" \
+	"" \
+	"$test" \
+	"Kill the program being debugged.*y or n. $" \
+	"y"
     
     # Another "don't leave a process around"
     remote_exec build "kill -9 ${testpid}"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-04 23:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-04 23:10 [patch] gdb.base/attach.exp replace gdb_test_multi Michael Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).