Hi Tom,

On Tue, Apr 15, 2014 at 6:41 PM, Tom Zhou <[email protected]> wrote:
>
> On Tue, Apr 15, 2014 at 5:19 PM, Ming Lei <[email protected]> wrote:
>>
>> Then I am wondering how virt-test can deal with long
>> command which length is more than guest tty's column
>> size.
>
> As you suffered, it can't. Patch/idea welcomed.

Actually I still don't understand why guest shell can't handle
long command. If we use ssh client to login to guest os, looks
no such issue.

Also the strange thing is that from running history command
on guest os, I found the command received is correctly, so
looks no reason it can't be run successfully.

> A possible solution maybe calculating the cmd length and
> calling the stty command if the cmd is too long before
> executing the cmd.

That should work, but I think we need to understand the
root cause first.


Thanks,
-- 
Ming Lei

_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to