This is the mail archive of the gdb-patches@sourceware.org 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: [PATCH] Really release IPC resources in info-os.exp


On 10/23/2012 10:13 PM, Joel Brobecker wrote:
>> 2012-10-23  Yao Qi  <yao@codesourcery.com>
>>
>> 	* gdb.base/info-os.exp: Resume the inferior until it exits.
> 
> Regardless of your problem, any change that removes a call to send_gdb
> and uses gdb_test instead is a good change in my books. So OK to commit.
> 
> IIRC, you don't need the leading ".*", which is implicit, but it might
> be clearer the way you have it.
> 

This is what I committed, with leading ".*" removed.

-- 
Yao

gdb/testsuite:

2012-10-23  Yao Qi  <yao@codesourcery.com>

	* gdb.base/info-os.exp: Resume the inferior until it exits.
---
 gdb/testsuite/gdb.base/info-os.exp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gdb/testsuite/gdb.base/info-os.exp b/gdb/testsuite/gdb.base/info-os.exp
index 541f03b..45f3103 100644
--- a/gdb/testsuite/gdb.base/info-os.exp
+++ b/gdb/testsuite/gdb.base/info-os.exp
@@ -176,4 +176,4 @@ expect_multiline "info os msg" "$msgkey +$msqid +666 .*" "get message queues"
 # The SysV IPC primitives linger on after the creating process is killed
 # unless they are destroyed explicitly, so allow the test program to tidy
 # up after itself.
-send_gdb "continue\n"
+gdb_test "continue" "exited.*"
-- 
1.7.7.6



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