mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-30 16:14:13 +00:00
run: tweak CRLF translation in log scripts
Ideally, I'd like to disable expects's translation here, which does not work. The current setting is the result of testing all combinations.
This commit is contained in:
parent
cd5e906bd0
commit
f1b1dd26cf
@ -78,6 +78,7 @@ proc run_log { wait_for_re timeout_value } {
|
|||||||
|
|
||||||
spawn /bin/sh -c "$amt_cmd"
|
spawn /bin/sh -c "$amt_cmd"
|
||||||
set output_spawn_id $spawn_id
|
set output_spawn_id $spawn_id
|
||||||
|
fconfigure $output_spawn_id -translation { crlf lf }
|
||||||
|
|
||||||
set kernel_msg [run_boot_string]
|
set kernel_msg [run_boot_string]
|
||||||
|
|
||||||
|
@ -55,6 +55,7 @@ proc run_log { wait_for_re timeout_value } {
|
|||||||
|
|
||||||
spawn /bin/sh -c "$serial_cmd_chain"
|
spawn /bin/sh -c "$serial_cmd_chain"
|
||||||
set output_spawn_id $spawn_id
|
set output_spawn_id $spawn_id
|
||||||
|
fconfigure $output_spawn_id -translation { crlf lf }
|
||||||
|
|
||||||
expect {
|
expect {
|
||||||
-i $output_spawn_id $kernel_msg { }
|
-i $output_spawn_id $kernel_msg { }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user