public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: chrubis@suse.cz
To: subashchandra.bose@wipro.com
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] Getting User input data not working
Date: Thu, 3 Jan 2013 12:23:57 +0100	[thread overview]
Message-ID: <20130103112356.GC4780@rei.Home> (raw)
In-Reply-To: <27EF8FABF41315449203A213FE20131355341D7F@BLR-SJP-MBX-4.wipro.com>

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

  reply	other threads:[~2013-01-03 11:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-26  4:53 [LTP] Getting User input data not working subashchandra.bose
2013-01-03 11:23 ` chrubis [this message]
     [not found]   ` <EAFD815A-FF7B-4FCE-B88D-B1077401C753@gmail.com>
     [not found]     ` <27EF8FABF41315449203A213FE201313553430FD@BLR-SJP-MBX-4.wipro.com>
2013-01-07 10:52       ` chrubis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130103112356.GC4780@rei.Home \
    --to=chrubis@suse.cz \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=subashchandra.bose@wipro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox