Johnny Chen
0934268ee1
Use a more gentle way of shutting down the child process spawned during the test execution using pexpect.
...
Change some child.expect() to child.expect_exact() as they try to match the string, not a regular expression.
llvm-svn: 130797
2011-05-03 22:14:19 +00:00
Johnny Chen
ea76c4f229
Make test_connect_remote() more robust by waiting on the server ready message
...
before issuing the 'process connect ...' command.
test_comand_regex(): assign the spawned child to self.child so it gets automatically
shutdown during TestBase.tearDown(self).
llvm-svn: 130015
2011-04-22 21:47:07 +00:00
Johnny Chen
21b2b7db76
Replace 'commands' with 'command', and update to the latest prompt.
...
llvm-svn: 129895
2011-04-21 00:05:59 +00:00
Johnny Chen
f95a869647
Fix wrong comment.
...
llvm-svn: 129881
2011-04-20 22:13:23 +00:00
Johnny Chen
b21a1b0a4b
Use self.TraceOn() API.
...
llvm-svn: 129880
2011-04-20 22:01:48 +00:00
Johnny Chen
cd8cf861d7
Add a simple test scenario for 'command regex' invocation and subsequent use.
...
llvm-svn: 129879
2011-04-20 21:51:31 +00:00