public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP]  Getting User input data not working
@ 2012-12-26  4:53 subashchandra.bose
  2013-01-03 11:23 ` chrubis
  0 siblings, 1 reply; 3+ messages in thread
From: subashchandra.bose @ 2012-12-26  4:53 UTC (permalink / raw)
  To: ltp-list


[-- Attachment #1.1: Type: text/plain, Size: 514 bytes --]

Hello All,



I am using LTP drop released on ltp-full-20120104 version.



I have written a testcase to get user input data and call that testcase using "runltp", the command I use to get user input data is "read -t 10 response"



But, when enter user input after running "runltp" it is not working. The same testcase is working fine getting user input from command line.



Can any one help me why it is not working in LTP, is there any work around on this?



Thanks & Regards,

-Subash

[-- Attachment #1.2: Type: text/html, Size: 967 bytes --]

[-- Attachment #2: Type: text/plain, Size: 376 bytes --]

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LTP] Getting User input data not working
  2012-12-26  4:53 [LTP] Getting User input data not working subashchandra.bose
@ 2013-01-03 11:23 ` chrubis
       [not found]   ` <EAFD815A-FF7B-4FCE-B88D-B1077401C753@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: chrubis @ 2013-01-03 11:23 UTC (permalink / raw)
  To: subashchandra.bose; +Cc: ltp-list

Hi!
> I am using LTP drop released on ltp-full-20120104 version.
> I have written a testcase to get user input data and call that testcase using "runltp", the command I use to get user input data is "read -t 10 response"
> But, when enter user input after running "runltp" it is not working. The same testcase is working fine getting user input from command line.
> Can any one help me why it is not working in LTP, is there any work around on this?

Apart form this being a silly idea (LTP is automatic testsuite, you
install it, run it and go away till it's finished) the tests are
executed by the test driver process (ltp-pan) that is a process group
leader so there is no way they could read from standard in.

[This is second attempt to send this mail, the first seems to have
disapeared somewhere between our mailserver and ltp mailing list]

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LTP] Getting User input data not working
       [not found]     ` <27EF8FABF41315449203A213FE201313553430FD@BLR-SJP-MBX-4.wipro.com>
@ 2013-01-07 10:52       ` chrubis
  0 siblings, 0 replies; 3+ messages in thread
From: chrubis @ 2013-01-07 10:52 UTC (permalink / raw)
  To: subashchandra.bose; +Cc: ltp-list

Hi!
> Thanks for the response, I want to test sound driver releated testing to do playback and capture where, User needs to confirm playback and capture functionlity.
> 
> So, based on User feedback I want flag the testcase pass or fail.

What about physically plugging the output cable to the capture input?
That way you can check that you have recorded something similar to the
sound that has been played. Exact matching would be really hard, but if
you play something like 1Hz sine wave you can simply use fftw library to
match the frequency...

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-07 10:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-26  4:53 [LTP] Getting User input data not working subashchandra.bose
2013-01-03 11:23 ` chrubis
     [not found]   ` <EAFD815A-FF7B-4FCE-B88D-B1077401C753@gmail.com>
     [not found]     ` <27EF8FABF41315449203A213FE201313553430FD@BLR-SJP-MBX-4.wipro.com>
2013-01-07 10:52       ` chrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox