I am working in a project in which we use LTP framework to execute all our
tests. If you are not the right person, can you forward my email?
Generally speaking we have two kind of tests, the automated and
In the second type we are looking at our device and verying if it is
performing the desire function.
to execute it we do:
../bin/pan -e -S 1h -a 1617 -n 1617 -p -f cmd -l log
The command file (cmd):
A0001_foo echo "A0003"
A0001 ../bin/question.sh "Do you see it?" && exit 0 || exit 1
A0001_bar echo "A0003"
and question.sh file is:
read -n 1 ans
if [ $ans == "y" ]; then
When the pan command in perform it give us:
Do you see it?
duration=12 termination_type=driver_interrupt termination_id=9 corefile=no
Note that I need to hit CTRL-C to stop the execution because it hangs...
when getting to the read command from bash...
If I execute question.sh directly, it perform fine...
bash-3.1# ../bin/question.sh "Did your see it?"
Did your see it?
What do you think?
Can you help me?
Thanks in advance,