LTP-Notes >> function_check_create_logrun >> function_post_test >> Transport_notes >> Adding_a_test 

Fuego 1.2 wiki

Login

Issue 0044 in split format

Summary
fix sersh to support busybox sh on the target board; Owner: Tim; Reporter: Dhinakar; Status: open; Priority: medium
; Summary: fix sersh to support busybox sh on the target board; Owner: Tim; Reporter: Dhinakar; Status: open; Priority: medium

Description [edit section]

= Description =If the combination of command and prompt are too long, then sershdoes not work properly with 'busybox sh' on the target.
On the target (after installing busybox):{{{$ /bin/busybox sh$ export PS1="root@beaglebone:busybox_sh_long_prompt $ "}}}Then on the host:{{{$ serio-test.sh ttyACM1}}}
On the target (after installing busybox):{{{$ /bin/busybox sh$ export PS1="root@beaglebone:busybox_sh_long_prompt $ "}}}Then on the host:{{{$ serio-test.sh ttyACM1}}}
And I got the error message:{{{#!YellowBoxDoing cleanup'ERROR: invalid literal for int() with base 10: '[ [&&serio_cmd_done&&]]'}}}
And I got the error message:{{{#!YellowBoxDoing cleanup'ERROR: invalid literal for int() with base 10: '[ [&&serio_cmd_done&&]]'}}}

Notes [edit section]

= Notes =Note that there's a warning comment about this in the serio program source.
It appears to be something related to busybox echoing a line feed or carriagereturn in the middle of the response from the command that is executed bysersh.
It appears to be something related to busybox echoing a line feed or carriagereturn in the middle of the response from the command that is executed bysersh.
backlink

Fuego Issues List

; backlink: [[Fuego Issues List]]
TBWiki engine 1.9.3 by Tim Bird