gdb/testsuite/

Fix racy FAILs.
	* gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
	of send_gdb.
This commit is contained in:
Jan Kratochvil 2011-12-01 22:06:45 +00:00
parent ae6f0d5b5a
commit 26d44fafef
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix racy FAILs.
* gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
of send_gdb.
2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
* gdb.base/testenv.exp: Skip on remote targets. Unset global

View File

@ -51,7 +51,7 @@ proc zap_session {} {
send_gdb "kill\n"
gdb_expect {
-re ".*Kill the program being debugged.*y or n. $" {
send_gdb "y\n"
gdb_test_no_output "y" ""
send_gdb "file $binfile\n"
gdb_expect {
-re ".*Load new symbol table from.*y or n. $" {