[qmtest] pexpect like features in QMtest

Ahsan Kabir ahsan.kabir at clearcube.com
Tue May 11 22:03:33 UTC 2010


Thanks Stefan for the quick response!
For our specific example, we want to control our embedded system (serial/network connection with host) and want to automate the user's sending command and watching output in qmtest script. We are thinking of installing probably a freeware on our linux host that will redirect RS232 data over ssh. If we can find one then we are thinking of using qmtest's ssh/rsh classes to control our DUT.

-----Original Message-----
From: Stefan Seefeld [mailto:stefan at codesourcery.com] 
Sent: Tuesday, May 11, 2010 2:24 PM
To: qmtest at codesourcery.com
Subject: Re: [qmtest] pexpect like features in QMtest

On 05/10/2010 05:21 PM, Ahsan Kabir wrote:
> Is there any feature in QMTest which allows running program and watching output? I have looked in the class definitions of qmtest but haven't been able to find one out yet. Essentially, I wanted to have features like expect/pexpect. I was trying to see whether QMTest already has support for pexpect like features. If yes, then I want to leverage that as opposed to using pexpect.
>    

Ahsan,

QMTest right now doesn't have any builtin support for driving 
interactive programs with expect. I can definitely see that being 
useful, though, and would be glad to incorporate any support for it, if 
you are willing to contribute a patch to that effect.

Thanks,
         Stefan

-- 
Stefan Seefeld
CodeSourcery
stefan at codesourcery.com
(650) 331-3385 x718




More information about the qmtest mailing list